Skip to content

Commit 7b22ee2

Browse files
committed
Try to fix tests
1 parent 850ceca commit 7b22ee2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
- name: Install dependencies
4949
run: |
5050
python -m pip install -U build pip setuptools wheel
51-
python -m pip install -r requirements.txt
51+
python -m pip install -r requirements.txt --force-reinstall
5252
5353
- name: Build sdist
5454
run: |
@@ -74,7 +74,7 @@ jobs:
7474
- name: Install newest torch for python 3.7+
7575
if: matrix.python_version != '3.6'
7676
run: |
77-
python -m pip install torch --index-url https://download.pytorch.org/whl/cpu
77+
python -m pip install torch --index-url https://download.pytorch.org/whl/cpu --force-reinstall
7878
7979
- name: Install from sdist
8080
shell: bash
@@ -85,7 +85,7 @@ jobs:
8585
- name: Run tests
8686
shell: bash
8787
run: |
88-
python -m pip install -r requirements.txt
88+
python -m pip install -r requirements.txt --force-reinstall
8989
python -m pytest --pyargs $MODULE_NAME --cov=$MODULE_NAME
9090
9191
- name: Test backwards compatibility for v1.0 models

0 commit comments

Comments
 (0)