Simvue Nightlies (Windows) #85
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Simvue Nightlies (Windows) | |
| on: | |
| workflow_dispatch: | |
| schedule: | |
| - cron: '0 0 * * *' | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| runs-on: windows-latest | |
| timeout-minutes: 40 | |
| name: Windows Nightly | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| git_ref: | |
| - dev | |
| - v2.1.2 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| ref: ${{ matrix.git_ref }} | |
| fetch-depth: 0 | |
| - 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 -o 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' -m 'not unix' |