Skip to content

Commit 2d8d3da

Browse files
committed
Merge branch 'v2.2'
2 parents 7969be9 + 3967cff commit 2d8d3da

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+3787
-1965
lines changed

.github/workflows/test_client_macos_nightlies.yml

Lines changed: 205 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ concurrency:
1313
cancel-in-progress: true
1414

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

0 commit comments

Comments
 (0)