-
-
Notifications
You must be signed in to change notification settings - Fork 43
42 lines (38 loc) · 942 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: CI
on:
pull_request:
push:
branches:
- main
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
jobs:
unit-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.X"
- name: Install dependencies
run: |
python -m pip install tox
- name: Test with tox
run: |
tox
verify-apps:
name: Build App
needs: unit-tests
uses: beeware/.github/.github/workflows/app-build-verify.yml@main
with:
python-version: "3.9"
briefcase-template-source: "../../"
runner-os: ${{ matrix.runner-os }}
framework: ${{ matrix.framework }}
strategy:
fail-fast: false
matrix:
framework: [ "toga", "pyside2", "pyside6", "ppb", "pygame" ]
runner-os: [ "macos-latest", "ubuntu-latest", "windows-latest" ]