Skip to content

Commit

Permalink
Target the unit tests and comment out the codecov steps
Browse files Browse the repository at this point in the history
  • Loading branch information
WillGibson committed Nov 12, 2024
1 parent f3e38c2 commit 840cb7d
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/python-unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,20 +30,20 @@ jobs:
poetry install
- name: Run pytest
run: poetry run pytest --cov --cov-report=xml --junitxml=junit.xml -o junit_family=legacy
run: poetry run pytest tests/app --cov --cov-report=xml --junitxml=junit.xml -o junit_family=legacy
env:
PYTHON_VERSION: ${{ matrix.python-version }}

- name: Upload code coverage results to Codecov
uses: codecov/codecov-action@v4
if: ${{ !cancelled() }}
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true

- name: Upload test analysis results to Codecov
uses: codecov/test-results-action@v1
if: ${{ !cancelled() }}
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true
#- name: Upload code coverage results to Codecov
# uses: codecov/codecov-action@v4
# if: ${{ !cancelled() }}
# with:
# token: ${{ secrets.CODECOV_TOKEN }}
# fail_ci_if_error: true

#- name: Upload test analysis results to Codecov
# uses: codecov/test-results-action@v1
# if: ${{ !cancelled() }}
# with:
# token: ${{ secrets.CODECOV_TOKEN }}
# fail_ci_if_error: true

0 comments on commit 840cb7d

Please sign in to comment.