Skip to content

Commit

Permalink
run long tests
Browse files Browse the repository at this point in the history
  • Loading branch information
DaloroAT committed Feb 2, 2025
1 parent a89a443 commit a2ad25d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,11 @@ jobs:
- name: Installation
run: |
python3 -m pip install --upgrade pip
python3 -m pip install -r ci/requirements_tests.txt --index-url https://download.pytorch.org/whl/cpu
python3 -m pip install -r ci/requirements_optional.txt --index-url https://download.pytorch.org/whl/cpu
python3 -m pip install -r ci/requirements_nlp.txt --index-url https://download.pytorch.org/whl/cpu
python3 -m pip install -r ci/requirements_audio.txt --index-url https://download.pytorch.org/whl/cpu
python3 -m pip install -e . --index-url https://download.pytorch.org/whl/cpu
python3 -m pip install -r ci/requirements_tests.txt
python3 -m pip install -r ci/requirements_optional.txt
python3 -m pip install -r ci/requirements_nlp.txt
python3 -m pip install -r ci/requirements_audio.txt
python3 -m pip install -e .
- name: Running all tests
run: |
if [ "${{ matrix.python-version }}" == "3.8" ]; then
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ run_all_tests: wandb_login

.PHONY: run_short_tests
run_short_tests:
export PYTORCH_ENABLE_MPS_FALLBACK=1; export PYTHONPATH=.; pytest --disable-warnings -sv -m "not long and not needs_optional_dependency" tests
export PYTORCH_ENABLE_MPS_FALLBACK=1; export PYTHONPATH=.; pytest --disable-warnings -sv -m "not needs_optional_dependency" tests
pytest --disable-warnings --doctest-modules --doctest-continue-on-failure -sv oml

.PHONY: test_converters
Expand Down

0 comments on commit a2ad25d

Please sign in to comment.