-
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e62f1ac
commit 285ba73
Showing
1 changed file
with
6 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
||
|
@@ -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 | ||
|
||
|