@@ -13,9 +13,10 @@ concurrency:
13
13
cancel-in-progress : true
14
14
15
15
jobs :
16
- build :
17
- timeout-minutes : 40
16
+ object_retrieval :
18
17
runs-on : macos-latest
18
+ timeout-minutes : 30
19
+ name : macOS Nightly
19
20
steps :
20
21
- uses : actions/checkout@v4
21
22
- name : Set up Python 3.13
@@ -24,15 +25,212 @@ jobs:
24
25
python-version : " 3.13"
25
26
- name : Install dependencies
26
27
run : |
27
- rm poetry.lock
28
28
python -m pip install poetry
29
29
poetry self add poetry-plugin-export
30
- poetry export -f requirements.txt --with dev requirements.txt --all-extras
31
- python -m pip install torch
30
+ poetry export -f requirements.txt --with dev -o requirements.txt --all-extras
31
+ python -m pip install torch --index-url https://download.pytorch.org/whl/cpu
32
32
python -m pip install -r requirements.txt
33
33
python -m pip install .
34
34
- name : Test with pytest
35
35
env :
36
- SIMVUE_URL : ${{ secrets.SIMVUE_NIGHTLY_URL }}
37
- SIMVUE_TOKEN : ${{ secrets.SIMVUE_NIGHTLY_TOKEN }}
38
- run : python -m pytest tests/ -m 'not scenario'
36
+ SIMVUE_URL : ${{ secrets.SIMVUE_URL }}
37
+ SIMVUE_TOKEN : ${{ secrets.SIMVUE_TOKEN }}
38
+ run : >-
39
+ python -m pytest -x
40
+ -m object_retrieval -c /dev/null -p no:warnings
41
+ -n 0 -v -o cache_dir=${GITHUB_WORKSPACE}/.pytest-cache
42
+ object_removal :
43
+ runs-on : ubuntu-latest
44
+ timeout-minutes : 30
45
+ steps :
46
+ - uses : actions/checkout@v4
47
+ - name : Set up Python 3.13
48
+ uses : actions/setup-python@v5
49
+ with :
50
+ python-version : " 3.13"
51
+ - name : Install dependencies
52
+ run : |
53
+ python -m pip install poetry
54
+ poetry self add poetry-plugin-export
55
+ 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
57
+ python -m pip install -r requirements.txt
58
+ python -m pip install .
59
+ - name : Test with pytest
60
+ env :
61
+ SIMVUE_URL : ${{ secrets.SIMVUE_URL }}
62
+ SIMVUE_TOKEN : ${{ secrets.SIMVUE_TOKEN }}
63
+ run : >-
64
+ python -m pytest -x
65
+ -m object_removal -c /dev/null -p no:warnings
66
+ -n 0 -v -o cache_dir=${GITHUB_WORKSPACE}/.pytest-cache
67
+ dispatch_tests :
68
+ runs-on : ubuntu-latest
69
+ timeout-minutes : 30
70
+ steps :
71
+ - uses : actions/checkout@v4
72
+ - name : Set up Python 3.13
73
+ uses : actions/setup-python@v5
74
+ with :
75
+ python-version : " 3.13"
76
+ - name : Install dependencies
77
+ run : |
78
+ python -m pip install poetry
79
+ poetry self add poetry-plugin-export
80
+ poetry export -f requirements.txt --with dev -o requirements.txt --all-extras
81
+ python -m pip install -r requirements.txt
82
+ python -m pip install .
83
+ - name : Test with pytest
84
+ env :
85
+ SIMVUE_URL : ${{ secrets.SIMVUE_URL }}
86
+ SIMVUE_TOKEN : ${{ secrets.SIMVUE_TOKEN }}
87
+ run : >-
88
+ python -m pytest -x
89
+ -m dispatch -c /dev/null -p no:warnings
90
+ -n 0 -v -o cache_dir=${GITHUB_WORKSPACE}/.pytest-cache
91
+ run_tests_online :
92
+ runs-on : ubuntu-latest
93
+ timeout-minutes : 30
94
+ steps :
95
+ - uses : actions/checkout@v4
96
+ - name : Set up Python 3.13
97
+ uses : actions/setup-python@v5
98
+ with :
99
+ python-version : " 3.13"
100
+ - name : Install dependencies
101
+ run : |
102
+ python -m pip install poetry
103
+ poetry self add poetry-plugin-export
104
+ poetry export -f requirements.txt --with dev -o requirements.txt --all-extras
105
+ python -m pip install torch --index-url https://download.pytorch.org/whl/cpu
106
+ python -m pip install -r requirements.txt
107
+ python -m pip install .
108
+ - name : Test with pytest
109
+ env :
110
+ SIMVUE_URL : ${{ secrets.SIMVUE_URL }}
111
+ SIMVUE_TOKEN : ${{ secrets.SIMVUE_TOKEN }}
112
+ run : >-
113
+ python -m pytest -x
114
+ -m run -m online -c /dev/null -p no:warnings
115
+ -n 0 -v -o cache_dir=${GITHUB_WORKSPACE}/.pytest-cache
116
+ run_tests_offline :
117
+ runs-on : ubuntu-latest
118
+ timeout-minutes : 30
119
+ steps :
120
+ - uses : actions/checkout@v4
121
+ - name : Set up Python 3.13
122
+ uses : actions/setup-python@v5
123
+ with :
124
+ python-version : " 3.13"
125
+ - name : Install dependencies
126
+ run : |
127
+ python -m pip install poetry
128
+ poetry self add poetry-plugin-export
129
+ poetry export -f requirements.txt --with dev -o requirements.txt --all-extras
130
+ python -m pip install torch --index-url https://download.pytorch.org/whl/cpu
131
+ python -m pip install -r requirements.txt
132
+ python -m pip install .
133
+ - name : Test with pytest
134
+ env :
135
+ SIMVUE_URL : ${{ secrets.SIMVUE_URL }}
136
+ SIMVUE_TOKEN : ${{ secrets.SIMVUE_TOKEN }}
137
+ run : >-
138
+ python -m pytest -x
139
+ -m run -m offline -c /dev/null -p no:warnings
140
+ -n 0 -v -o cache_dir=${GITHUB_WORKSPACE}/.pytest-cache
141
+ config_tests :
142
+ runs-on : ubuntu-latest
143
+ timeout-minutes : 30
144
+ steps :
145
+ - uses : actions/checkout@v4
146
+ - name : Set up Python 3.13
147
+ uses : actions/setup-python@v5
148
+ with :
149
+ python-version : " 3.13"
150
+ - name : Install dependencies
151
+ run : |
152
+ python -m pip install poetry
153
+ poetry self add poetry-plugin-export
154
+ poetry export -f requirements.txt --with dev -o requirements.txt --all-extras
155
+ python -m pip install -r requirements.txt
156
+ python -m pip install .
157
+ - name : Test with pytest
158
+ env :
159
+ SIMVUE_URL : ${{ secrets.SIMVUE_URL }}
160
+ SIMVUE_TOKEN : ${{ secrets.SIMVUE_TOKEN }}
161
+ run : >-
162
+ python -m pytest -x
163
+ -m config -c /dev/null -p no:warnings
164
+ -n 0 -v -o cache_dir=${GITHUB_WORKSPACE}/.pytest-cache
165
+ executor_tests :
166
+ runs-on : ubuntu-latest
167
+ timeout-minutes : 30
168
+ steps :
169
+ - uses : actions/checkout@v4
170
+ - name : Set up Python 3.13
171
+ uses : actions/setup-python@v5
172
+ with :
173
+ python-version : " 3.13"
174
+ - name : Install dependencies
175
+ run : |
176
+ python -m pip install poetry
177
+ poetry self add poetry-plugin-export
178
+ poetry export -f requirements.txt --with dev -o requirements.txt --all-extras
179
+ python -m pip install -r requirements.txt
180
+ python -m pip install .
181
+ - name : Test with pytest
182
+ env :
183
+ SIMVUE_URL : ${{ secrets.SIMVUE_URL }}
184
+ SIMVUE_TOKEN : ${{ secrets.SIMVUE_TOKEN }}
185
+ run : >-
186
+ python -m pytest -x
187
+ -m executor -c /dev/null -p no:warnings
188
+ -n 0 -v -o cache_dir=${GITHUB_WORKSPACE}/.pytest-cache
189
+ api_tests :
190
+ runs-on : ubuntu-latest
191
+ timeout-minutes : 30
192
+ steps :
193
+ - uses : actions/checkout@v4
194
+ - name : Set up Python 3.13
195
+ uses : actions/setup-python@v5
196
+ with :
197
+ python-version : " 3.13"
198
+ - name : Install dependencies
199
+ run : |
200
+ python -m pip install poetry
201
+ poetry self add poetry-plugin-export
202
+ poetry export -f requirements.txt --with dev -o requirements.txt --all-extras
203
+ python -m pip install -r requirements.txt
204
+ python -m pip install .
205
+ - name : Test with pytest
206
+ env :
207
+ SIMVUE_URL : ${{ secrets.SIMVUE_URL }}
208
+ SIMVUE_TOKEN : ${{ secrets.SIMVUE_TOKEN }}
209
+ run : >-
210
+ python -m pytest -x
211
+ -m api -c /dev/null -p no:warnings
212
+ -n 0 -v -o cache_dir=${GITHUB_WORKSPACE}/.pytest-cache
213
+ local_tests :
214
+ runs-on : ubuntu-latest
215
+ timeout-minutes : 30
216
+ steps :
217
+ - uses : actions/checkout@v4
218
+ - name : Set up Python 3.13
219
+ uses : actions/setup-python@v5
220
+ with :
221
+ python-version : " 3.13"
222
+ - name : Install dependencies
223
+ run : |
224
+ python -m pip install poetry
225
+ poetry self add poetry-plugin-export
226
+ poetry export -f requirements.txt --with dev -o requirements.txt --all-extras
227
+ python -m pip install -r requirements.txt
228
+ python -m pip install .
229
+ - name : Test with pytest
230
+ env :
231
+ SIMVUE_URL : ${{ secrets.SIMVUE_URL }}
232
+ SIMVUE_TOKEN : ${{ secrets.SIMVUE_TOKEN }}
233
+ run : >-
234
+ python -m pytest -x
235
+ -m local -c /dev/null -p no:warnings
236
+ -n 0 -v -o cache_dir=${GITHUB_WORKSPACE}/.pytest-cache
0 commit comments