Skip to content

Commit

Permalink
Add Python 3.11 and 3.12 to test matrix.
Browse files Browse the repository at this point in the history
  • Loading branch information
aliddell committed Jan 19, 2024
1 parent b666c5b commit 4432e1c
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 7 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ jobs:
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"

runs-on: ${{ matrix.platform }}

Expand Down
36 changes: 29 additions & 7 deletions .github/workflows/test_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:
branches:
- main
pull_request_target:
pull_request: # FIXME (aliddell): change back to `pull_request_target`
branches:
- main

Expand All @@ -24,6 +24,8 @@ jobs:
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"

permissions:
actions: write
Expand Down Expand Up @@ -68,7 +70,12 @@ jobs:
strategy:
fail-fast: false
matrix:
python: [ "3.8", "3.9", "3.10" ]
python:
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"

permissions:
actions: write
Expand Down Expand Up @@ -103,7 +110,7 @@ jobs:
- name: Test
run: |
python -m pytest -k test_dcam
# TODO (aliddell): uncomment when we get an eGrabber runner up again
# egrabber:
# name: Python ${{ matrix.python }} (eGrabber)
Expand All @@ -115,7 +122,12 @@ jobs:
# strategy:
# fail-fast: false
# matrix:
# python: [ "3.8", "3.9", "3.10" ]
# python:
# - "3.8"
# - "3.9"
# - "3.10"
# - "3.11"
# - "3.12"

# permissions:
# actions: write
Expand Down Expand Up @@ -162,7 +174,12 @@ jobs:
strategy:
fail-fast: false
matrix:
python: [ "3.8", "3.9", "3.10" ]
python:
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"

permissions:
actions: write
Expand Down Expand Up @@ -208,7 +225,12 @@ jobs:
strategy:
fail-fast: false
matrix:
python: [ "3.8", "3.9", "3.10" ]
python:
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"

permissions:
actions: write
Expand Down Expand Up @@ -277,7 +299,7 @@ jobs:
needs:
- platforms
- dcam
# - egrabber
# - egrabber
- spinnaker
- pvcam
- typing
Expand Down

0 comments on commit 4432e1c

Please sign in to comment.