Skip to content

Commit

Permalink
Fix workflow?
Browse files Browse the repository at this point in the history
  • Loading branch information
mdabrowski1990 committed Jul 26, 2024
1 parent e62f1ac commit 285ba73
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,19 +65,15 @@ jobs:
run: |
pip install .[test]
- name: Prepare coverage uploader [CodeCov]
run: |
curl -Os https://app.codecov.io/gh/mdabrowski1990/uds/uploader/linux/codecov
chmod +x codecov
- name: Execute unit tests [pytest]
run: |
pytest tests/software_tests --cov-report=xml --cov=uds -m "not integration and not performance"
- name: Upload unit tests report [CodeCov]
uses: codecov/codecov-action@v3
uses: codecov/[email protected]
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: coverage.xml
flags: unit-tests

Expand All @@ -86,9 +82,10 @@ jobs:
pytest tests/software_tests --cov-report=xml --cov=uds -m "integration"
- name: Upload integration tests report [CodeCov]
uses: codecov/codecov-action@v3
uses: codecov/[email protected]
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: coverage.xml
flags: integration-tests

Expand Down

0 comments on commit 285ba73

Please sign in to comment.