Skip to content

Commit

Permalink
Split pytest coverage report in codecov ghaction
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Stoops committed Jun 24, 2024
1 parent 67262c9 commit 2ddc2af
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,13 +75,12 @@ jobs:
- uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v4
- name: Generate coverage report
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install pytest
python -m pip install pytest-cov
python -m pip install .[dev]
python -m pytest --cov=./ --cov-report=xml:pytest_cov.xml
- name: Generate coverage report
run: python -m pytest --cov=./ --cov-report=xml:pytest_cov.xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
Expand Down

0 comments on commit 2ddc2af

Please sign in to comment.