Skip to content

Commit

Permalink
Test to see what jobs run
Browse files Browse the repository at this point in the history
  • Loading branch information
antonymilne committed Oct 29, 2024
1 parent 3bfec30 commit 3a2bf44
Showing 1 changed file with 36 additions and 16 deletions.
52 changes: 36 additions & 16 deletions .github/workflows/test-unit-vizro-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,31 +17,51 @@ env:

jobs:
test-unit-vizro-core:
name: test-unit-vizro-core on Py${{ matrix.python-version }} ${{ matrix.label }}
name: test-unit-vizro-core on Py${{ matrix.python-env.py }} ${{ matrix.python-env.label }}

runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
python-version: [{py: "3.9", hatch-env: all.py3.9}, {py: "3.10", hatch-env: all.py3.10},
{py: "3.11", hatch-env: all.py3.11}, {py: "3.12", hatch-env: all.py3.12},
{py: "3.13", hatch-env: all.py3.13}, py: "3.9", hatch-env: lower-bounds]
os: ["ubuntu-latest", "windows-latest"]
#hatch-env: [${{ format("all.py{0}", matrix.python-version) }}]
is_pr:
- ${{ github.event_name == "pull_request" }}
python-env:
- py: "3.9"
hatch-env: all.py3.9
os: ubuntu-latest
- py: "3.10"
hatch-env: all.py3.10
os: ubuntu-latest
- py: "3.11"
hatch-env: all.py3.11
os: ubuntu-latest
- py: "3.12"
hatch-env: all.py3.12
os: ubuntu-latest
- py: "3.13"
hatch-env: all.py3.13
os: ubuntu-latest
- py: "3.9"
hatch-env: lower-bounds
label: lower bounds
os: ubuntu-latest
- py: "3.12"
hatch-env: all.py3.12
label: Windows
os: windows-latest
is_pr: [${{ github.event_name == "pull_request" }}]
exclude:
- is_pr: true
os: windows-latest
- is_pr: false
os: windows-latest
python-version: ["3.9", "3.10", "3.11", "3.13"]
python-version:
py: "3.12"
hatch-env: all.py3.12
label: Windows
os: windows-latest
# just use below for labelling and hatch-env so not needed?
# will still need windows and lower bounds job though
include:
- python-version: "3.9"
hatch-env: lower-bounds
label: lower bounds
# include:
# - python-env:
# - py: "3.9"
# - hatch-env: lower-bounds
# label: lower bounds
# - python-version: "3.12"
# hatch-env: all.py3.12
# is_pr: false
Expand Down

0 comments on commit 3a2bf44

Please sign in to comment.