Simvue Nightlies (Windows) #180
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: | |
| object_retrieval: | |
| runs-on: windows-latest | |
| timeout-minutes: 30 | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Set up Python 3.13 | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: "3.13" | |
| - name: Install dependencies | |
| run: | | |
| 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 --index-url https://download.pytorch.org/whl/cpu || true | |
| python -m pip install -r requirements.txt | |
| python -m pip install . | |
| - name: Test with pytest | |
| env: | |
| SIMVUE_URL: ${{ secrets.SIMVUE_URL }} | |
| SIMVUE_TOKEN: ${{ secrets.SIMVUE_TOKEN }} | |
| run: >- | |
| python -m pytest -x | |
| -m object_retrieval -c /dev/null -p no:warnings | |
| -n 0 -v -o cache_dir=${GITHUB_WORKSPACE}/.pytest-cache | |
| shell: pwsh | |
| object_removal: | |
| runs-on: windows-latest | |
| timeout-minutes: 30 | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Set up Python 3.13 | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: "3.13" | |
| - name: Install dependencies | |
| run: | | |
| 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 --index-url https://download.pytorch.org/whl/cpu || true | |
| python -m pip install -r requirements.txt | |
| python -m pip install . | |
| - name: Test with pytest | |
| env: | |
| SIMVUE_URL: ${{ secrets.SIMVUE_URL }} | |
| SIMVUE_TOKEN: ${{ secrets.SIMVUE_TOKEN }} | |
| run: >- | |
| python -m pytest -x | |
| -m 'object_removal and not unix' -c /dev/null -p no:warnings | |
| -n 0 -v -o cache_dir=${GITHUB_WORKSPACE}/.pytest-cache | |
| shell: pwsh | |
| dispatch_tests: | |
| runs-on: windows-latest | |
| timeout-minutes: 30 | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Set up Python 3.13 | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: "3.13" | |
| - name: Install dependencies | |
| run: | | |
| 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 -r requirements.txt | |
| python -m pip install . | |
| - name: Test with pytest | |
| env: | |
| SIMVUE_URL: ${{ secrets.SIMVUE_URL }} | |
| SIMVUE_TOKEN: ${{ secrets.SIMVUE_TOKEN }} | |
| run: >- | |
| python -m pytest -x | |
| -m 'dispatch and not unix' -c /dev/null -p no:warnings | |
| -n 0 -v -o cache_dir=${GITHUB_WORKSPACE}/.pytest-cache | |
| shell: pwsh | |
| run_tests_online: | |
| runs-on: windows-latest | |
| timeout-minutes: 30 | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Set up Python 3.13 | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: "3.13" | |
| - name: Install dependencies | |
| run: | | |
| 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 --index-url https://download.pytorch.org/whl/cpu || true | |
| python -m pip install -r requirements.txt | |
| python -m pip install . | |
| - name: Test with pytest | |
| env: | |
| SIMVUE_URL: ${{ secrets.SIMVUE_URL }} | |
| SIMVUE_TOKEN: ${{ secrets.SIMVUE_TOKEN }} | |
| run: >- | |
| python -m pytest -x | |
| -m run -m 'online and not unix' -c /dev/null -p no:warnings | |
| -n 0 -v -o cache_dir=${GITHUB_WORKSPACE}/.pytest-cache | |
| shell: pwsh | |
| run_tests_offline: | |
| runs-on: windows-latest | |
| timeout-minutes: 30 | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Set up Python 3.13 | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: "3.13" | |
| - name: Install dependencies | |
| run: | | |
| 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 --index-url https://download.pytorch.org/whl/cpu || true | |
| python -m pip install -r requirements.txt | |
| python -m pip install . | |
| - name: Test with pytest | |
| env: | |
| SIMVUE_URL: ${{ secrets.SIMVUE_URL }} | |
| SIMVUE_TOKEN: ${{ secrets.SIMVUE_TOKEN }} | |
| run: >- | |
| python -m pytest -x | |
| -m run -m 'offline and not unix' -c /dev/null -p no:warnings | |
| -n 0 -v -o cache_dir=${GITHUB_WORKSPACE}/.pytest-cache | |
| shell: pwsh | |
| config_tests: | |
| runs-on: windows-latest | |
| timeout-minutes: 30 | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Set up Python 3.13 | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: "3.13" | |
| - name: Install dependencies | |
| run: | | |
| 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 -r requirements.txt | |
| python -m pip install . | |
| - name: Test with pytest | |
| env: | |
| SIMVUE_URL: ${{ secrets.SIMVUE_URL }} | |
| SIMVUE_TOKEN: ${{ secrets.SIMVUE_TOKEN }} | |
| run: >- | |
| python -m pytest -x | |
| -m 'config and not unix' -c /dev/null -p no:warnings | |
| -n 0 -v -o cache_dir=${GITHUB_WORKSPACE}/.pytest-cache | |
| shell: pwsh | |
| executor_tests: | |
| runs-on: windows-latest | |
| timeout-minutes: 30 | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Set up Python 3.13 | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: "3.13" | |
| - name: Install dependencies | |
| run: | | |
| 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 -r requirements.txt | |
| python -m pip install . | |
| - name: Test with pytest | |
| env: | |
| SIMVUE_URL: ${{ secrets.SIMVUE_URL }} | |
| SIMVUE_TOKEN: ${{ secrets.SIMVUE_TOKEN }} | |
| run: >- | |
| python -m pytest -x | |
| -m 'executor and not unix' -c /dev/null -p no:warnings | |
| -n 0 -v -o cache_dir=${GITHUB_WORKSPACE}/.pytest-cache | |
| shell: pwsh | |
| api_tests: | |
| runs-on: windows-latest | |
| timeout-minutes: 30 | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Set up Python 3.13 | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: "3.13" | |
| - name: Install dependencies | |
| run: | | |
| 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 -r requirements.txt | |
| python -m pip install . | |
| - name: Test with pytest | |
| env: | |
| SIMVUE_URL: ${{ secrets.SIMVUE_URL }} | |
| SIMVUE_TOKEN: ${{ secrets.SIMVUE_TOKEN }} | |
| run: >- | |
| python -m pytest -x | |
| -m 'api and not unix' -c /dev/null -p no:warnings | |
| -n 0 -v -o cache_dir=${GITHUB_WORKSPACE}/.pytest-cache | |
| shell: pwsh | |
| local_tests: | |
| runs-on: windows-latest | |
| timeout-minutes: 30 | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Set up Python 3.13 | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: "3.13" | |
| - name: Install dependencies | |
| run: | | |
| 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 -r requirements.txt | |
| python -m pip install . | |
| - name: Test with pytest | |
| env: | |
| SIMVUE_URL: ${{ secrets.SIMVUE_URL }} | |
| SIMVUE_TOKEN: ${{ secrets.SIMVUE_TOKEN }} | |
| run: >- | |
| python -m pytest -x | |
| -m 'local and not unix' -c /dev/null -p no:warnings | |
| -n 0 -v -o cache_dir=${GITHUB_WORKSPACE}/.pytest-cache | |
| shell: pwsh |