Skip to content

Merge pull request #23 from beeware/autoupdates/pre-commit/pre-commit… #107

Merge pull request #23 from beeware/autoupdates/pre-commit/pre-commit…

Merge pull request #23 from beeware/autoupdates/pre-commit/pre-commit… #107

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- main
workflow_call:
defaults:
run:
shell: bash # https://github.com/beeware/briefcase/pull/912
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 }}
python-source: ${{ matrix.python-source }}
runner-os: windows-latest
framework: ${{ matrix.framework }}
target-platform: Windows
target-format: app
strategy:
fail-fast: false
matrix:
python-version: [ "3.8", "3.9", "3.10", "3.11", "3.12" ]
python-source: [ "github", "winstore" ]
# PySide2 and PySide6 produce very long paths that can't be packaged
# by WiX. Disable these targets until the problem has been fixed.
# See beeware/briefcase#948
# framework: ["toga", "pyside2", "pyside6", "ppb"]
framework: [ "toga", "ppb", "pygame" ]
exclude:
# # PySide2 doesn't publish a binary wheel that is compatible
# # with Python 3.11, and is unlikely to ever do so.
# - python-version: "3.11"
# framework: "pyside2"
# Pygame hasn't published 3.12 wheels yet.
- python-version: 3.12
python-source: github
framework: pygame
- python-version: 3.12
python-source: winstore
framework: pygame