Skip to content

Merge pull request #3 from blakeNaccarato/renovate/pyright-and-type-s… #9

Merge pull request #3 from blakeNaccarato/renovate/pyright-and-type-s…

Merge pull request #3 from blakeNaccarato/renovate/pyright-and-type-s… #9

Workflow file for this run

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.