-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtest_client_macos_nightlies.yml
More file actions
38 lines (34 loc) · 1.03 KB
/
test_client_macos_nightlies.yml
File metadata and controls
38 lines (34 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: Simvue Nightlies (macOS)
on:
workflow_dispatch:
schedule:
- cron: '30 23 * * *'
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
timeout-minutes: 40
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.13
uses: actions/setup-python@v5
with:
python-version: "3.13"
- name: Install dependencies
run: |
rm poetry.lock
python -m pip install poetry
poetry self add poetry-plugin-export
poetry export -f requirements.txt --with dev requirements.txt --all-extras
python -m pip install torch
python -m pip install -r requirements.txt
python -m pip install .
- name: Test with pytest
env:
SIMVUE_URL: ${{ secrets.SIMVUE_NIGHTLY_URL }}
SIMVUE_TOKEN: ${{ secrets.SIMVUE_NIGHTLY_TOKEN }}
run: python -m pytest tests/ -m 'not scenario' -c /dev/null -o cache_dir=${GITHUB_WORKSPACE}/.pytest-cache