Skip to content

Commit

Permalink
Only upload coverage once
Browse files Browse the repository at this point in the history
  • Loading branch information
ppinchuk committed Oct 9, 2024
1 parent c1c760a commit de1d3e0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/pytest_ords.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ jobs:
python -m pip install pytest
python -m pip install pytest-mock
python -m pip install pytest-cov
python -m pip install psycopg2-binary
python -m pip install boto3
python -m pip install .
playwright install
- name: Run pytest and Generate coverage report
Expand All @@ -49,6 +51,7 @@ jobs:
python -m pytest -v --disable-warnings --cov=./ --cov-report=xml:coverage.xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
if: matrix.os == 'ubuntu-latest'
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.xml
Expand Down

0 comments on commit de1d3e0

Please sign in to comment.