Skip to content

Commit

Permalink
Add Python version coverage to template CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
freakboy3742 committed Oct 31, 2022
1 parent b2dfee2 commit 52e536b
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ on:
- main
workflow_call:

env:
python_version: "3.9"

defaults:
run:
shell: bash # https://github.com/beeware/briefcase/pull/912
Expand All @@ -19,6 +16,7 @@ jobs:
strategy:
matrix:
os_name: ["macOS", "windows", "linux"]
python-version: ["3.8", "3.9", "3.10", "3.11"]
framework: ["toga"]
include:
- os_name: macOS
Expand All @@ -43,7 +41,7 @@ jobs:
- name: Cache Briefcase tools
uses: actions/[email protected]
with:
key: briefcase-${{ matrix.platform }}
key: briefcase-${{ matrix.platform }}-${{ matrix.python_version }}
path: |
~/.cookiecutters
${{ matrix.briefcase-data-dir }}
Expand All @@ -55,7 +53,7 @@ jobs:
- name: Set up Python
uses: actions/[email protected]
with:
python-version: ${{ env.python_version }}
python-version: ${{ matrix.python_version }}
- name: Install packages
run: pip install briefcase
- name: Build Android App
Expand Down

0 comments on commit 52e536b

Please sign in to comment.