CHANGES: fix typo #635
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: Lint and Test | |
| on: | |
| pull_request: | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| - name: Install the latest version of uv and activate the environment | |
| uses: astral-sh/setup-uv@v6 | |
| with: | |
| activate-environment: true | |
| - run: uv sync --frozen | |
| - run: uv run ruff check | |
| test: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| - name: Install the latest version of uv and activate the environment | |
| uses: astral-sh/setup-uv@v6 | |
| with: | |
| activate-environment: true | |
| - name: Install PySide6 requirements | |
| run: | | |
| sudo apt update | |
| sudo apt install libopengl0 freeglut3-dev -y | |
| - name: Install requirements | |
| run: uv sync --frozen | |
| - name: Run tests | |
| env: | |
| PYTEST_QT_API: pyside6 | |
| run: uv run pytest tests -v |