Skip to content

Simvue Nightlies (macOS) #71

Simvue Nightlies (macOS)

Simvue Nightlies (macOS) #71

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