Skip to content

Commit

Permalink
Update test coverage workflow to use 'uv' for dependency installation…
Browse files Browse the repository at this point in the history
… and test execution
  • Loading branch information
ghodsizadeh committed Jan 5, 2025
1 parent dc6c846 commit d0dadf5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/test_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,11 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest pytest-cov
uv sync
uv pip install pytest pytest-cov
- name: Run tests with coverage
run: pytest --cov=pdf2csv --cov-report=xml
run: uv run pytest --cov=pdf2csv --cov-report=xml

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2
Expand Down

0 comments on commit d0dadf5

Please sign in to comment.