Add submodules #4
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)" | |
shell: "pwsh" | |
- uses: "stefanzweifel/[email protected]" | |
with: | |
commit_message: "Update project from template." | |
# * ------------------------------------------------------------------------------ * # | |
# * Changes below should persist in significant template updates. |