even more arch detects #509
This file contains 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 | |
on: | |
push: | |
branches-ignore: | |
- master | |
- main | |
pull_request: | |
jobs: | |
lint: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.12" | |
- run: pip install black==23.7.0 | |
- run: python -m black --check . | |
test: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.12" | |
- name: Install PySide6 requirements | |
run: | | |
sudo apt update | |
sudo apt install libopengl0 freeglut3 freeglut3-dev -y | |
- name: Install requirements | |
run: | | |
python -m pip install --upgrade pip setuptools | |
pip install . | |
pip install .[develop] | |
- name: Run tests | |
env: | |
PYTEST_QT_API: pyside6 | |
run: pytest tests |