Skip to content

Commit 8f8a251

Browse files
committed
Merge branch 'dev' of github.com:simvue-io/python-api into dev
2 parents e46588d + 3c4ebbd commit 8f8a251

File tree

5 files changed

+60
-17
lines changed

5 files changed

+60
-17
lines changed

.github/workflows/test_client_macos.yml renamed to .github/workflows/test_client_macos_nightlies.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1-
name: Simvue Client (macOS)
1+
name: Simvue Nightlies (macOS)
22

33
on:
44
workflow_dispatch:
5+
schedule:
6+
- cron: '30 23 * * *'
57

68
permissions:
79
contents: read
@@ -12,7 +14,7 @@ concurrency:
1214

1315
jobs:
1416
build:
15-
timeout-minutes: 30
17+
timeout-minutes: 40
1618
runs-on: macos-latest
1719
steps:
1820
- uses: actions/checkout@v4
@@ -26,8 +28,8 @@ jobs:
2628
python -m pip install poetry
2729
- name: Test with pytest
2830
run: |
29-
export SIMVUE_URL=${{ secrets.SIMVUE_URL }}
30-
export SIMVUE_TOKEN=${{ secrets.SIMVUE_TOKEN }}
31+
export SIMVUE_URL=${{ secrets.SIMVUE_NIGHTLY_URL }}
32+
export SIMVUE_TOKEN=${{ secrets.SIMVUE_NIGHTLY_TOKEN }}
3133
poetry install --all-extras
3234
poetry run python -m pip install torch
3335
poetry run pytest tests/ -m 'not scenario'

.github/workflows/test_client_ubuntu.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
build:
2222

2323
runs-on: ubuntu-latest
24-
timeout-minutes: 30
24+
timeout-minutes: 40
2525
steps:
2626
- uses: actions/checkout@v4
2727
- name: Set up Python 3.13
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# This workflow will install Python dependencies, run tests and lint with a single version of Python
2+
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
3+
4+
name: Simvue Nightlies (Ubuntu)
5+
6+
on:
7+
workflow_dispatch:
8+
schedule:
9+
- cron: '30 0 * * *'
10+
11+
permissions:
12+
contents: read
13+
14+
concurrency:
15+
group: ${{ github.workflow }}-${{ github.ref }}
16+
cancel-in-progress: true
17+
18+
jobs:
19+
build:
20+
21+
runs-on: ubuntu-latest
22+
timeout-minutes: 40
23+
steps:
24+
- uses: actions/checkout@v4
25+
- name: Set up Python 3.13
26+
uses: actions/setup-python@v5
27+
with:
28+
python-version: "3.13"
29+
- name: Install dependencies
30+
run: python -m pip install poetry
31+
- name: Test with pytest
32+
run: |
33+
export SIMVUE_URL=${{ secrets.SIMVUE_NIGHTLY_URL }}
34+
export SIMVUE_TOKEN=${{ secrets.SIMVUE_NIGHTLY_TOKEN }}
35+
poetry install --all-extras
36+
# poetry run python -m pip install torch --index-url https://download.pytorch.org/whl/cpu FIXME: PyTorch current broken for Python3.13
37+
poetry run pytest tests/ -x --cov --cov-report=xml -m 'not scenario' -c /dev/null -p no:warnings -n 0 -v
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1-
name: Simvue Client (Windows)
1+
name: Simvue Nightlies (Windows)
22

33
on:
44
workflow_dispatch:
5+
schedule:
6+
- cron: '0 0 * * *'
57

68
permissions:
79
contents: read
@@ -13,22 +15,25 @@ concurrency:
1315
jobs:
1416
build:
1517
runs-on: windows-latest
16-
timeout-minutes: 30
18+
timeout-minutes: 40
19+
strategy:
20+
matrix:
21+
python-version: ['3.12', '3.13']
1722
steps:
1823
- uses: actions/checkout@v4
19-
- name: Set up Python 3.12
24+
- name: Set up Python ${{ matrix.python-version }}
2025
uses: actions/setup-python@v5
2126
with:
22-
python-version: "3.12"
27+
python-version: "${{ matrix.python-version }}"
2328
- name: Install dependencies
2429
run: |
2530
rm poetry.lock
2631
python -m pip install poetry
2732
- name: Test with pytest
2833
shell: bash
2934
run: |
30-
export SIMVUE_URL=${{ secrets.SIMVUE_URL }}
31-
export SIMVUE_TOKEN=${{ secrets.SIMVUE_TOKEN }}
35+
export SIMVUE_URL=${{ secrets.SIMVUE_NIGHTLY_URL }}
36+
export SIMVUE_TOKEN=${{ secrets.SIMVUE_NIGHTLY_TOKEN }}
3237
poetry install --all-extras
3338
poetry run python -m pip install torch
3439
poetry run pytest tests/ -m 'not scenario' -m 'not unix'

.github/workflows/test_multiple_python.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,9 @@
44
name: Simvue Client (Python Versions)
55

66
on:
7-
push:
8-
tags:
9-
- 'v*-*-rc*'
107
workflow_dispatch:
8+
schedule:
9+
- cron: '30 1 * * *'
1110

1211
permissions:
1312
contents: read
@@ -19,7 +18,7 @@ concurrency:
1918
jobs:
2019
build:
2120
runs-on: ubuntu-latest
22-
timeout-minutes: 30
21+
timeout-minutes: 40
2322
strategy:
2423
matrix:
2524
python-version: ['3.10', '3.11', '3.12']
@@ -33,7 +32,7 @@ jobs:
3332
run: python -m pip install poetry
3433
- name: Test with pytest
3534
run: |
36-
export SIMVUE_URL=${{ secrets.SIMVUE_URL }}
37-
export SIMVUE_TOKEN=${{ secrets.SIMVUE_TOKEN }}
35+
export SIMVUE_URL=${{ secrets.SIMVUE_NIGHTLY_URL }}
36+
export SIMVUE_TOKEN=${{ secrets.SIMVUE_NIGHTLY_TOKEN }}
3837
poetry install --all-extras
3938
poetry run pytest tests/ -m 'not scenario'

0 commit comments

Comments
 (0)