Use name TotSpec or VSpec depending on radar mode
#391
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: RpgPy CI | |
| on: [push, pull_request] | |
| jobs: | |
| build: | |
| timeout-minutes: 20 | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, windows-latest, macos-latest] | |
| python-version: ["3.10", "3.11", "3.12", "3.13"] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| cache: "pip" | |
| - name: Configure Pagefile | |
| if: runner.os == 'Windows' | |
| uses: al-cheb/configure-pagefile-action@v1.4 | |
| with: | |
| minimum-size: 16GB | |
| maximum-size: 16GB | |
| disk-root: "C:" | |
| - name: Install dependencies | |
| run: | | |
| python3 -m pip install setuptools | |
| python3 -m pip install .[test,dev,full] | |
| python3 setup.py build_ext --inplace | |
| - name: Run pre-commit checks | |
| if: startsWith(matrix.os, 'ubuntu-') | |
| run: | | |
| pre-commit run --all-files --show-diff-on-failure | |
| - name: Test with pytest | |
| run: | | |
| pytest --flake-finder tests/unit/ --flake-runs=2 | |
| - name: Run e2e tests | |
| run: | | |
| python tests/e2e/level1/l1_test_runner.py | |
| python tests/e2e/level0/l0_test_runner.py |