diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index c7261429e..c316a7493 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -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 }} diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 788188f75..875949946 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 }}