Release 2.4 #36
Workflow file for this run
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: 'READY: Run nonlocal tests' | |
| on: | |
| pull_request: | |
| types: | |
| - opened | |
| - reopened | |
| - synchronize | |
| - ready_for_review | |
| branches: | |
| - main | |
| - stable | |
| jobs: | |
| python_os_test_matrix: | |
| name: ${{ matrix.os }} python 3.13 | |
| runs-on: ${{ matrix.os }} | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ matrix.os }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| if: ${{ !github.event.pull_request.draft }} | |
| strategy: | |
| matrix: | |
| os: ['windows-latest', 'ubuntu-latest', 'macos-latest'] | |
| steps: | |
| - name: Check out repo | |
| uses: actions/checkout@v4 | |
| - name: Install Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.13' | |
| cache: 'pip' | |
| cache-dependency-path: requirements-ci.txt | |
| - name: Update pip | |
| run: python -m pip install -U pip | |
| - name: Install & report CI dependencies | |
| run: | | |
| python -m pip install -U --force-reinstall -r requirements-ci.txt | |
| python --version | |
| pip list | |
| - name: Build docs | |
| run: | | |
| cd doc | |
| make html | |
| mkdir scratch | |
| - name: Run nonlocal tests | |
| run: | | |
| pytest --nonloc |