Skip to content

Commit

Permalink
Updated testing and cov options
Browse files Browse the repository at this point in the history
  • Loading branch information
famura committed Mar 21, 2024
1 parent b4bee53 commit 4c6987b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,15 @@ jobs:
- name: Run the fast and the slow tests with coverage
run: |
pytest -n auto -m "not gpu" tests/ --cov=sbi --cov-report=xml --exitfirst
pytest -n auto -v -m "not gpu" --cov=sbi --cov-report=xml --exitfirst tests/
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4-beta
with:
file: ./coverage.xml
flags: unittests-all-cpu
env_vars: OS,PYTHON
name: codecov-umbrella
fail_ci_if_error: false
file: ./coverage.xml
flags: unittests
name: codecov-sbi-all-cpu
env:
token: ${{ secrets.CODECOV_TOKEN }}
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,15 +59,15 @@ jobs:
- name: Run the fast tests with coverage
run: |
pytest -n auto -m "not slow and not gpu" tests/ --cov=sbi --cov-report=xml --exitfirst
pytest -n auto -v -m "not slow and not gpu" --cov=sbi --cov-report=xml --exitfirst tests/
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4-beta
uses: codecov/codecov-action@v4
with:
file: ./coverage.xml
flags: unittests-fast-cpu
env_vars: OS,PYTHON
name: codecov-umbrella
fail_ci_if_error: false
file: ./coverage.xml
flags: unittests
name: codecov-sbi-fast-cpu
env:
token: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit 4c6987b

Please sign in to comment.