Big merge to kick-off 4.0 development: Upgrade to Pyglet 3, Pymunk 7, and a new WebGL backend #5061
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: PyTest | |
| on: | |
| push: | |
| branches: [development, maintenance] | |
| pull_request: | |
| branches: [development, maintenance] | |
| workflow_dispatch: | |
| jobs: | |
| linux: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ['3.10', '3.11', '3.12', '3.13', '3.14'] | |
| name: Python ${{ matrix.python-version }} | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Install xvfb | |
| run: sudo apt-get install xvfb | |
| - name: Setup Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install UV | |
| uses: astral-sh/setup-uv@v7 | |
| with: | |
| enable-cache: true | |
| - name: Sync UV project | |
| run: uv sync | |
| - name: Run tests | |
| run: | | |
| xvfb-run --auto-servernum uv run arcade | |
| xvfb-run --auto-servernum uv run pytest --maxfail=10 |