Skip to content

Commit

Permalink
Also remove coverage config
Browse files Browse the repository at this point in the history
  • Loading branch information
Marian Tietz committed Dec 10, 2024
1 parent 77056a3 commit 48884d7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install setuptools pytest-monitor
pip uninstall pytest-cov
# cpu version of pytorch
pip install -e .[test]
pip uninstall pytest-cov
- name: Downgrade numpy on MacOS and Windows
# TODO: remove numpy downgrade on MacOS & Windows once torch fixes numpy 2.0 issue
shell: bash
Expand Down
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,9 @@ doctest_optionflags = [
]

[tool.pytest.ini_options]
addopts = "--cov=src/peft --cov-report=term-missing --durations=10"
markers = [
"single_gpu_tests: tests that run on a single GPU",
"multi_gpu_tests: tests that run on multiple GPUs",
"regression: whether to run regression suite test",
"bitsandbytes: select bitsandbytes integration tests"
]
]

0 comments on commit 48884d7

Please sign in to comment.