Skip to content

Commit d1043ac

Browse files
committed
💚 Don't fail if Torch fails to install on CI
1 parent 4f6ac0a commit d1043ac

File tree

5 files changed

+21
-21
lines changed

5 files changed

+21
-21
lines changed

‎.github/workflows/test_client_macos_nightlies.yml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
python -m pip install poetry
2828
poetry self add poetry-plugin-export
2929
poetry export -f requirements.txt --with dev -o requirements.txt --all-extras
30-
python -m pip install torch --index-url https://download.pytorch.org/whl/cpu
30+
python -m pip install torch --index-url https://download.pytorch.org/whl/cpu || true
3131
python -m pip install -r requirements.txt
3232
python -m pip install .
3333
- name: Test with pytest
@@ -52,7 +52,7 @@ jobs:
5252
python -m pip install poetry
5353
poetry self add poetry-plugin-export
5454
poetry export -f requirements.txt --with dev -o requirements.txt --all-extras
55-
python -m pip install torch --index-url https://download.pytorch.org/whl/cpu
55+
python -m pip install torch --index-url https://download.pytorch.org/whl/cpu || true
5656
python -m pip install -r requirements.txt
5757
python -m pip install .
5858
- name: Test with pytest
@@ -101,7 +101,7 @@ jobs:
101101
python -m pip install poetry
102102
poetry self add poetry-plugin-export
103103
poetry export -f requirements.txt --with dev -o requirements.txt --all-extras
104-
python -m pip install torch --index-url https://download.pytorch.org/whl/cpu
104+
python -m pip install torch --index-url https://download.pytorch.org/whl/cpu || true
105105
python -m pip install -r requirements.txt
106106
python -m pip install .
107107
- name: Test with pytest
@@ -126,7 +126,7 @@ jobs:
126126
python -m pip install poetry
127127
poetry self add poetry-plugin-export
128128
poetry export -f requirements.txt --with dev -o requirements.txt --all-extras
129-
python -m pip install torch --index-url https://download.pytorch.org/whl/cpu
129+
python -m pip install torch --index-url https://download.pytorch.org/whl/cpu || true
130130
python -m pip install -r requirements.txt
131131
python -m pip install .
132132
- name: Test with pytest

‎.github/workflows/test_client_ubuntu.yml‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
python -m pip install poetry
3333
poetry self add poetry-plugin-export
3434
poetry export -f requirements.txt --with dev -o requirements.txt --all-extras
35-
python -m pip install torch --index-url https://download.pytorch.org/whl/cpu
35+
python -m pip install torch --index-url https://download.pytorch.org/whl/cpu || true
3636
python -m pip install -r requirements.txt
3737
python -m pip install .
3838
- name: Test with pytest
@@ -57,7 +57,7 @@ jobs:
5757
python -m pip install poetry
5858
poetry self add poetry-plugin-export
5959
poetry export -f requirements.txt --with dev -o requirements.txt --all-extras
60-
python -m pip install torch --index-url https://download.pytorch.org/whl/cpu
60+
python -m pip install torch --index-url https://download.pytorch.org/whl/cpu || true
6161
python -m pip install -r requirements.txt
6262
python -m pip install .
6363
- name: Test with pytest
@@ -106,7 +106,7 @@ jobs:
106106
python -m pip install poetry
107107
poetry self add poetry-plugin-export
108108
poetry export -f requirements.txt --with dev -o requirements.txt --all-extras
109-
python -m pip install torch --index-url https://download.pytorch.org/whl/cpu
109+
python -m pip install torch --index-url https://download.pytorch.org/whl/cpu || true
110110
python -m pip install -r requirements.txt
111111
python -m pip install .
112112
- name: Test with pytest
@@ -131,12 +131,12 @@ jobs:
131131
python -m pip install poetry
132132
poetry self add poetry-plugin-export
133133
poetry export -f requirements.txt --with dev -o requirements.txt --all-extras
134-
python -m pip install torch --index-url https://download.pytorch.org/whl/cpu
134+
python -m pip install torch --index-url https://download.pytorch.org/whl/cpu || true
135135
python -m pip install -r requirements.txt
136136
python -m pip install .
137137
- name: Test with pytest
138138
env:
139-
SIMVUE_URL: ${{ secrets.SIMVUE_URL }}
139+
SIMVUE_URL: "${{ secrets.SIMVUE_URL }}"
140140
SIMVUE_TOKEN: ${{ secrets.SIMVUE_TOKEN }}
141141
run: >-
142142
python -m pytest -x

‎.github/workflows/test_client_ubuntu_nightlies.yml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
python -m pip install poetry
3131
poetry self add poetry-plugin-export
3232
poetry export -f requirements.txt --with dev -o requirements.txt --all-extras
33-
python -m pip install torch --index-url https://download.pytorch.org/whl/cpu
33+
python -m pip install torch --index-url https://download.pytorch.org/whl/cpu || true
3434
python -m pip install -r requirements.txt
3535
python -m pip install .
3636
- name: Test with pytest
@@ -55,7 +55,7 @@ jobs:
5555
python -m pip install poetry
5656
poetry self add poetry-plugin-export
5757
poetry export -f requirements.txt --with dev -o requirements.txt --all-extras
58-
python -m pip install torch --index-url https://download.pytorch.org/whl/cpu
58+
python -m pip install torch --index-url https://download.pytorch.org/whl/cpu || true
5959
python -m pip install -r requirements.txt
6060
python -m pip install .
6161
- name: Test with pytest
@@ -104,7 +104,7 @@ jobs:
104104
python -m pip install poetry
105105
poetry self add poetry-plugin-export
106106
poetry export -f requirements.txt --with dev -o requirements.txt --all-extras
107-
python -m pip install torch --index-url https://download.pytorch.org/whl/cpu
107+
python -m pip install torch --index-url https://download.pytorch.org/whl/cpu || true
108108
python -m pip install -r requirements.txt
109109
python -m pip install .
110110
- name: Test with pytest
@@ -129,7 +129,7 @@ jobs:
129129
python -m pip install poetry
130130
poetry self add poetry-plugin-export
131131
poetry export -f requirements.txt --with dev -o requirements.txt --all-extras
132-
python -m pip install torch --index-url https://download.pytorch.org/whl/cpu
132+
python -m pip install torch --index-url https://download.pytorch.org/whl/cpu || true
133133
python -m pip install -r requirements.txt
134134
python -m pip install .
135135
- name: Test with pytest

‎.github/workflows/test_client_windows_nightlies.yml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
python -m pip install poetry
2828
poetry self add poetry-plugin-export
2929
poetry export -f requirements.txt --with dev -o requirements.txt --all-extras
30-
python -m pip install torch --index-url https://download.pytorch.org/whl/cpu
30+
python -m pip install torch --index-url https://download.pytorch.org/whl/cpu || true
3131
python -m pip install -r requirements.txt
3232
python -m pip install .
3333
- name: Test with pytest
@@ -53,7 +53,7 @@ jobs:
5353
python -m pip install poetry
5454
poetry self add poetry-plugin-export
5555
poetry export -f requirements.txt --with dev -o requirements.txt --all-extras
56-
python -m pip install torch --index-url https://download.pytorch.org/whl/cpu
56+
python -m pip install torch --index-url https://download.pytorch.org/whl/cpu || true
5757
python -m pip install -r requirements.txt
5858
python -m pip install .
5959
- name: Test with pytest
@@ -104,7 +104,7 @@ jobs:
104104
python -m pip install poetry
105105
poetry self add poetry-plugin-export
106106
poetry export -f requirements.txt --with dev -o requirements.txt --all-extras
107-
python -m pip install torch --index-url https://download.pytorch.org/whl/cpu
107+
python -m pip install torch --index-url https://download.pytorch.org/whl/cpu || true
108108
python -m pip install -r requirements.txt
109109
python -m pip install .
110110
- name: Test with pytest
@@ -130,7 +130,7 @@ jobs:
130130
python -m pip install poetry
131131
poetry self add poetry-plugin-export
132132
poetry export -f requirements.txt --with dev -o requirements.txt --all-extras
133-
python -m pip install torch --index-url https://download.pytorch.org/whl/cpu
133+
python -m pip install torch --index-url https://download.pytorch.org/whl/cpu || true
134134
python -m pip install -r requirements.txt
135135
python -m pip install .
136136
- name: Test with pytest

‎.github/workflows/test_multiple_python.yml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
python -m pip install poetry
3636
poetry self add poetry-plugin-export
3737
poetry export -f requirements.txt --with dev -o requirements.txt --all-extras
38-
python -m pip install torch --index-url https://download.pytorch.org/whl/cpu
38+
python -m pip install torch --index-url https://download.pytorch.org/whl/cpu || true
3939
python -m pip install -r requirements.txt
4040
python -m pip install .
4141
- name: Test with pytest
@@ -65,7 +65,7 @@ jobs:
6565
python -m pip install poetry
6666
poetry self add poetry-plugin-export
6767
poetry export -f requirements.txt --with dev -o requirements.txt --all-extras
68-
python -m pip install torch --index-url https://download.pytorch.org/whl/cpu
68+
python -m pip install torch --index-url https://download.pytorch.org/whl/cpu || true
6969
python -m pip install -r requirements.txt
7070
python -m pip install .
7171
- name: Test with pytest
@@ -124,7 +124,7 @@ jobs:
124124
python -m pip install poetry
125125
poetry self add poetry-plugin-export
126126
poetry export -f requirements.txt --with dev -o requirements.txt --all-extras
127-
python -m pip install torch --index-url https://download.pytorch.org/whl/cpu
127+
python -m pip install torch --index-url https://download.pytorch.org/whl/cpu || true
128128
python -m pip install -r requirements.txt
129129
python -m pip install .
130130
- name: Test with pytest
@@ -154,7 +154,7 @@ jobs:
154154
python -m pip install poetry
155155
poetry self add poetry-plugin-export
156156
poetry export -f requirements.txt --with dev -o requirements.txt --all-extras
157-
python -m pip install torch --index-url https://download.pytorch.org/whl/cpu
157+
python -m pip install torch --index-url https://download.pytorch.org/whl/cpu || true
158158
python -m pip install -r requirements.txt
159159
python -m pip install .
160160
- name: Test with pytest

0 commit comments

Comments
 (0)