Skip to content

Commit

Permalink
fix coverage error
Browse files Browse the repository at this point in the history
  • Loading branch information
Fernando-crz committed Nov 29, 2023
1 parent 25b1722 commit ef26256
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,14 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install coverage docopt yarg requests nbconvert
pip install poetry
poetry install --with dev
- name: Calculate coverage
run: coverage run --source=pipreqs -m unittest discover
run: poetry run coverage run --source=pipreqs -m unittest discover

- name: Create XML report
run: coverage xml
run: poetry run coverage xml

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

0 comments on commit ef26256

Please sign in to comment.