Skip to content

Commit 8f37b99

Browse files
committed
👷 Split Client tests in CI
1 parent a7ae97a commit 8f37b99

File tree

1 file changed

+27
-2
lines changed

1 file changed

+27
-2
lines changed

‎.github/workflows/test_client_ubuntu.yml

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ concurrency:
1818
cancel-in-progress: true
1919

2020
jobs:
21-
client_tests:
21+
object_retrieval:
2222
runs-on: ubuntu-latest
2323
timeout-minutes: 30
2424
steps:
@@ -41,7 +41,32 @@ jobs:
4141
SIMVUE_TOKEN: ${{ secrets.SIMVUE_TOKEN }}
4242
run: >-
4343
python -m pytest -x
44-
-m client -c /dev/null -p no:warnings
44+
-m object_retrieval -c /dev/null -p no:warnings
45+
-n 0 -v -o cache_dir=${GITHUB_WORKSPACE}/.pytest-cache
46+
object_removal:
47+
runs-on: ubuntu-latest
48+
timeout-minutes: 30
49+
steps:
50+
- uses: actions/checkout@v4
51+
- name: Set up Python 3.13
52+
uses: actions/setup-python@v5
53+
with:
54+
python-version: "3.13"
55+
- name: Install dependencies
56+
run: |
57+
python -m pip install poetry
58+
poetry self add poetry-plugin-export
59+
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
61+
python -m pip install -r requirements.txt
62+
python -m pip install .
63+
- name: Test with pytest
64+
env:
65+
SIMVUE_URL: ${{ secrets.SIMVUE_URL }}
66+
SIMVUE_TOKEN: ${{ secrets.SIMVUE_TOKEN }}
67+
run: >-
68+
python -m pytest -x
69+
-m object_removal -c /dev/null -p no:warnings
4570
-n 0 -v -o cache_dir=${GITHUB_WORKSPACE}/.pytest-cache
4671
dispatch_tests:
4772
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)