Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 16 additions & 7 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,19 @@ on:
# Allow this workflow to be called from other repositories.
workflow_call:
inputs:
poetry:
type: boolean
description: "Deprecated, will now always use Poetry."
python-versions:
required: false
default: true
type: string
# IMPORTANT: When updating these, also update below!!
default: '["3.10", "3.11", "3.12", "3.13", "3.14"]'
python-min:
required: false
type: string
default: '3.10'
python-max:
required: false
type: string
default: '3.14'

jobs:
run-tests:
Expand All @@ -27,13 +35,14 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
# IMPORTANT: When updating these, also update above!!
python-version: ${{ fromJSON(inputs.python-versions || '["3.10", "3.11", "3.12", "3.13", "3.14"]') }}
experimental: [false]
include:
- os: macos-latest
python-version: '3.10'
python-version: ${{ inputs.python-min || '3.10' }}
- os: macos-latest
python-version: '3.14'
python-version: ${{ inputs.python-max || '3.14' }}
# - os: ubuntu-latest
# python-version: '3.15'
# experimental: true
Expand Down
11 changes: 8 additions & 3 deletions .github/workflows/updated_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,12 @@ on:

# Allow this workflow to be called from other repositories.
workflow_call:

# This workflow needs Poetry, so no flag is included.
inputs:
python-versions:
required: false
type: string
# IMPORTANT: When updating these, also update below!!
default: '["3.10", "3.14"]'

jobs:
run-tests:
Expand All @@ -23,7 +27,8 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ['3.10', '3.14']
# IMPORTANT: When updating these, also update above!!
python-version: ${{ fromJSON(inputs.python-versions || '["3.10", "3.14"]') }}
experimental: [false]
# include:
# - os: ubuntu-latest
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/webtests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@ on:
# Allow this workflow to be called from other repositories.
workflow_call:
inputs:
poetry:
type: boolean
description: "Deprecated, will now always use Poetry."
python-versions:
required: false
type: string
# IMPORTANT: When updating these, also update below!!
default: '["3.10", "3.14"]'

jobs:
run-tests:
Expand All @@ -20,7 +21,8 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.10', '3.14']
# IMPORTANT: When updating these, also update above!!
python-version: ${{ fromJSON(inputs.python-versions || '["3.10", "3.14"]') }}
experimental: [false]
# include:
# - os: ubuntu-latest
Expand Down
Loading