Skip to content

Commit

Permalink
Installing pytest cov with the dev option
Browse files Browse the repository at this point in the history
  • Loading branch information
famura committed Mar 21, 2024
1 parent 5f8266d commit b4bee53
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ jobs:
- name: Run the fast and the slow tests with coverage
run: |
pip install pytest-cov
pytest -n auto -m "not gpu" tests/ --cov=sbi --cov-report=xml --exitfirst
- name: Upload coverage to Codecov
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ jobs:
- name: Run the fast tests with coverage
run: |
pip install pytest-cov
pytest -n auto -m "not slow and not gpu" tests/ --cov=sbi --cov-report=xml --exitfirst
- name: Upload coverage to Codecov
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ dev = [
"ruff>=0.3.3",
# Test
"pytest",
"pytest-cov",
"pytest-xdist",
"torchtestcase",
]
Expand Down

0 comments on commit b4bee53

Please sign in to comment.