Update typings digest to 27a1231 #17
Workflow file for this run
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: "main" | |
on: ["push", "workflow_dispatch"] | |
jobs: | |
# * ------------------------------------------------------------------------------ * # | |
# * Changes below may be lost in significant template updates. | |
pyright: | |
runs-on: "ubuntu-latest" | |
steps: | |
- uses: "blakeNaccarato/[email protected]" | |
with: | |
python-version: "3.11" | |
- run: ".tools/scripts/Invoke-Pyright.ps1" | |
shell: "pwsh" | |
ruff: | |
runs-on: "ubuntu-latest" | |
steps: | |
- uses: "blakeNaccarato/[email protected]" | |
with: | |
python-version: "3.11" | |
- run: "ruff --no-fix --format github ." | |
pytest: | |
runs-on: "ubuntu-latest" | |
steps: | |
- uses: "blakeNaccarato/[email protected]" | |
with: | |
python-version: "3.11" | |
- name: Install PySide6 system dependencies | |
run: | | |
# https://askubuntu.com/questions/900285/libegl-so-1-is-not-a-symbolic-link | |
sudo apt update | |
sudo apt install libegl1 | |
- run: "pytest --cov" | |
- uses: "codecov/[email protected]" | |
bump_project: | |
needs: ["pyright", "ruff", "pytest"] | |
runs-on: "ubuntu-latest" | |
steps: | |
- uses: "blakeNaccarato/[email protected]" | |
with: | |
python-version: "3.11" | |
install-project: false | |
- run: "copier update --defaults --vcs-ref $(git rev-parse HEAD:template)" | |
- run: "python .tools/scripts/update_requirements.py" | |
- name: "Check whether bumped requirements install properly" | |
run: |- | |
pip install . | |
pip install --requirement .tools/requirements/requirements.txt --requirement .tools/requirements/requirements_ci.txt | |
pip install --no-deps --requirement .tools/requirements/requirements_nodeps.txt | |
- uses: "stefanzweifel/[email protected]" | |
with: | |
commit_message: "Update project from template." | |
# * ------------------------------------------------------------------------------ * # | |
# * Changes below should persist in significant template updates. |