Merge pull request #57 from beeware/autoupdates/pre-commit/pre-commit… #188
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: CI | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
workflow_call: | |
# Cancel active CI runs for a PR before starting another run | |
concurrency: | |
group: ${{ github.ref }} | |
cancel-in-progress: true | |
defaults: | |
run: | |
shell: bash | |
env: | |
FORCE_COLOR: "1" | |
jobs: | |
pre-commit: | |
name: Pre-commit checks | |
uses: beeware/.github/.github/workflows/pre-commit-run.yml@main | |
with: | |
pre-commit-source: pre-commit | |
verify-apps: | |
name: Build apps | |
needs: pre-commit | |
uses: beeware/.github/.github/workflows/app-build-verify.yml@main | |
with: | |
python-version: ${{ matrix.python-version }} | |
runner-os: windows-latest | |
framework: ${{ matrix.framework }} | |
target-platform: Windows | |
target-format: app | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: [ "3.9", "3.10", "3.11", "3.12" ] | |
# PySide6 produce very long paths that can't be packaged by WiX. | |
# Disabling until the problem has been fixed. See beeware/briefcase#948 | |
# framework: [ "toga", "pyside6", "pygame", "console" ] | |
framework: [ "toga", "pygame", "console" ] |