@@ -18,9 +18,9 @@ concurrency:
18
18
cancel-in-progress : true
19
19
20
20
jobs :
21
- online_unit_tests :
21
+ object_retrieval :
22
22
runs-on : ubuntu-latest
23
- timeout-minutes : 40
23
+ timeout-minutes : 30
24
24
steps :
25
25
- uses : actions/checkout@v4
26
26
- name : Set up Python 3.13
@@ -40,12 +40,12 @@ jobs:
40
40
SIMVUE_URL : ${{ secrets.SIMVUE_URL }}
41
41
SIMVUE_TOKEN : ${{ secrets.SIMVUE_TOKEN }}
42
42
run : >-
43
- python -m pytest tests/unit/ -x
44
- -m online -c /dev/null -p no:warnings
43
+ python -m pytest -x
44
+ -m object_retrieval -c /dev/null -p no:warnings
45
45
-n 0 -v -o cache_dir=${GITHUB_WORKSPACE}/.pytest-cache
46
- offline_unit_tests :
46
+ object_removal :
47
47
runs-on : ubuntu-latest
48
- timeout-minutes : 40
48
+ timeout-minutes : 30
49
49
steps :
50
50
- uses : actions/checkout@v4
51
51
- name : Set up Python 3.13
@@ -65,12 +65,12 @@ jobs:
65
65
SIMVUE_URL : ${{ secrets.SIMVUE_URL }}
66
66
SIMVUE_TOKEN : ${{ secrets.SIMVUE_TOKEN }}
67
67
run : >-
68
- python -m pytest tests/unit/ -x
69
- -m offline -c /dev/null -p no:warnings
68
+ python -m pytest -x
69
+ -m object_removal -c /dev/null -p no:warnings
70
70
-n 0 -v -o cache_dir=${GITHUB_WORKSPACE}/.pytest-cache
71
- online_functional_tests :
71
+ dispatch_tests :
72
72
runs-on : ubuntu-latest
73
- timeout-minutes : 40
73
+ timeout-minutes : 30
74
74
steps :
75
75
- uses : actions/checkout@v4
76
76
- name : Set up Python 3.13
@@ -82,20 +82,19 @@ jobs:
82
82
python -m pip install poetry
83
83
poetry self add poetry-plugin-export
84
84
poetry export -f requirements.txt --with dev -o requirements.txt --all-extras
85
- python -m pip install torch --index-url https://download.pytorch.org/whl/cpu
86
85
python -m pip install -r requirements.txt
87
86
python -m pip install .
88
87
- name : Test with pytest
89
88
env :
90
89
SIMVUE_URL : ${{ secrets.SIMVUE_URL }}
91
90
SIMVUE_TOKEN : ${{ secrets.SIMVUE_TOKEN }}
92
91
run : >-
93
- python -m pytest tests/functional/ -x
94
- -m online -m "not eco" -c /dev/null -p no:warnings
92
+ python -m pytest -x
93
+ -m dispatch -c /dev/null -p no:warnings
95
94
-n 0 -v -o cache_dir=${GITHUB_WORKSPACE}/.pytest-cache
96
- offline_functional_tests :
95
+ run_tests_online :
97
96
runs-on : ubuntu-latest
98
- timeout-minutes : 40
97
+ timeout-minutes : 30
99
98
steps :
100
99
- uses : actions/checkout@v4
101
100
- name : Set up Python 3.13
@@ -115,12 +114,12 @@ jobs:
115
114
SIMVUE_URL : ${{ secrets.SIMVUE_URL }}
116
115
SIMVUE_TOKEN : ${{ secrets.SIMVUE_TOKEN }}
117
116
run : >-
118
- python -m pytest tests/functional/ -x
119
- -m offline -c /dev/null -p no:warnings
117
+ python -m pytest -x
118
+ -m run -m online -c /dev/null -p no:warnings
120
119
-n 0 -v -o cache_dir=${GITHUB_WORKSPACE}/.pytest-cache
121
- other_unit_tests :
120
+ run_tests_offline :
122
121
runs-on : ubuntu-latest
123
- timeout-minutes : 40
122
+ timeout-minutes : 30
124
123
steps :
125
124
- uses : actions/checkout@v4
126
125
- name : Set up Python 3.13
@@ -140,13 +139,84 @@ jobs:
140
139
SIMVUE_URL : ${{ secrets.SIMVUE_URL }}
141
140
SIMVUE_TOKEN : ${{ secrets.SIMVUE_TOKEN }}
142
141
run : >-
143
- python -m pytest tests/unit/ -x
144
- -m 'not offline' -m 'not online'
145
- -m 'not scenario' -c /dev/null
146
- -p no:warnings -n 0 -v -o cache_dir=${GITHUB_WORKSPACE}/.pytest-cache
147
- other_functional_tests :
142
+ python -m pytest -x
143
+ -m run -m offline -c /dev/null -p no:warnings
144
+ -n 0 -v -o cache_dir=${GITHUB_WORKSPACE}/.pytest-cache
145
+ config_tests :
148
146
runs-on : ubuntu-latest
149
- timeout-minutes : 40
147
+ timeout-minutes : 30
148
+ steps :
149
+ - uses : actions/checkout@v4
150
+ - name : Set up Python 3.13
151
+ uses : actions/setup-python@v5
152
+ with :
153
+ python-version : " 3.13"
154
+ - name : Install dependencies
155
+ run : |
156
+ python -m pip install poetry
157
+ poetry self add poetry-plugin-export
158
+ poetry export -f requirements.txt --with dev -o requirements.txt --all-extras
159
+ python -m pip install -r requirements.txt
160
+ python -m pip install .
161
+ - name : Test with pytest
162
+ env :
163
+ SIMVUE_URL : ${{ secrets.SIMVUE_URL }}
164
+ SIMVUE_TOKEN : ${{ secrets.SIMVUE_TOKEN }}
165
+ run : >-
166
+ python -m pytest -x
167
+ -m config -c /dev/null -p no:warnings
168
+ -n 0 -v -o cache_dir=${GITHUB_WORKSPACE}/.pytest-cache
169
+ executor_tests :
170
+ runs-on : ubuntu-latest
171
+ timeout-minutes : 30
172
+ steps :
173
+ - uses : actions/checkout@v4
174
+ - name : Set up Python 3.13
175
+ uses : actions/setup-python@v5
176
+ with :
177
+ python-version : " 3.13"
178
+ - name : Install dependencies
179
+ run : |
180
+ python -m pip install poetry
181
+ poetry self add poetry-plugin-export
182
+ poetry export -f requirements.txt --with dev -o requirements.txt --all-extras
183
+ python -m pip install -r requirements.txt
184
+ python -m pip install .
185
+ - name : Test with pytest
186
+ env :
187
+ SIMVUE_URL : ${{ secrets.SIMVUE_URL }}
188
+ SIMVUE_TOKEN : ${{ secrets.SIMVUE_TOKEN }}
189
+ run : >-
190
+ python -m pytest -x
191
+ -m executor -c /dev/null -p no:warnings
192
+ -n 0 -v -o cache_dir=${GITHUB_WORKSPACE}/.pytest-cache
193
+ api_tests :
194
+ runs-on : ubuntu-latest
195
+ timeout-minutes : 30
196
+ steps :
197
+ - uses : actions/checkout@v4
198
+ - name : Set up Python 3.13
199
+ uses : actions/setup-python@v5
200
+ with :
201
+ python-version : " 3.13"
202
+ - name : Install dependencies
203
+ run : |
204
+ python -m pip install poetry
205
+ poetry self add poetry-plugin-export
206
+ poetry export -f requirements.txt --with dev -o requirements.txt --all-extras
207
+ python -m pip install -r requirements.txt
208
+ python -m pip install .
209
+ - name : Test with pytest
210
+ env :
211
+ SIMVUE_URL : ${{ secrets.SIMVUE_URL }}
212
+ SIMVUE_TOKEN : ${{ secrets.SIMVUE_TOKEN }}
213
+ run : >-
214
+ python -m pytest -x
215
+ -m api -c /dev/null -p no:warnings
216
+ -n 0 -v -o cache_dir=${GITHUB_WORKSPACE}/.pytest-cache
217
+ local_tests :
218
+ runs-on : ubuntu-latest
219
+ timeout-minutes : 30
150
220
steps :
151
221
- uses : actions/checkout@v4
152
222
- name : Set up Python 3.13
@@ -158,15 +228,13 @@ jobs:
158
228
python -m pip install poetry
159
229
poetry self add poetry-plugin-export
160
230
poetry export -f requirements.txt --with dev -o requirements.txt --all-extras
161
- python -m pip install torch --index-url https://download.pytorch.org/whl/cpu
162
231
python -m pip install -r requirements.txt
163
232
python -m pip install .
164
233
- name : Test with pytest
165
234
env :
166
235
SIMVUE_URL : ${{ secrets.SIMVUE_URL }}
167
236
SIMVUE_TOKEN : ${{ secrets.SIMVUE_TOKEN }}
168
237
run : >-
169
- python -m pytest tests/functional/ -x
170
- -m 'not offline' -m 'not online'
171
- -m 'not scenario' -c /dev/null
172
- -p no:warnings -n 0 -v -o cache_dir=${GITHUB_WORKSPACE}/.pytest-cache
238
+ python -m pytest -x
239
+ -m local -c /dev/null -p no:warnings
240
+ -n 0 -v -o cache_dir=${GITHUB_WORKSPACE}/.pytest-cache
0 commit comments