Skip to content

Commit

Permalink
Try to fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
honnibal committed Jan 14, 2025
1 parent 850ceca commit 7b22ee2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install -U build pip setuptools wheel
python -m pip install -r requirements.txt
python -m pip install -r requirements.txt --force-reinstall
- name: Build sdist
run: |
Expand All @@ -74,7 +74,7 @@ jobs:
- name: Install newest torch for python 3.7+
if: matrix.python_version != '3.6'
run: |
python -m pip install torch --index-url https://download.pytorch.org/whl/cpu
python -m pip install torch --index-url https://download.pytorch.org/whl/cpu --force-reinstall
- name: Install from sdist
shell: bash
Expand All @@ -85,7 +85,7 @@ jobs:
- name: Run tests
shell: bash
run: |
python -m pip install -r requirements.txt
python -m pip install -r requirements.txt --force-reinstall
python -m pytest --pyargs $MODULE_NAME --cov=$MODULE_NAME
- name: Test backwards compatibility for v1.0 models
Expand Down

0 comments on commit 7b22ee2

Please sign in to comment.