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 3a2bf44 commit 55e4767
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/test-unit-vizro-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ env:

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

runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
python-env:
config:
- py: "3.9"
hatch-env: all.py3.9
os: ubuntu-latest
Expand All @@ -47,7 +47,8 @@ jobs:
hatch-env: all.py3.12
label: Windows
os: windows-latest
is_pr: [${{ github.event_name == "pull_request" }}]
is_pr:
- ${{ github.event_name == 'pull_request' }}
exclude:
- is_pr: true
python-version:
Expand All @@ -72,16 +73,16 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
- name: Set up Python ${{ matrix.config.py }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
python-version: ${{ matrix.config.py }}

- name: Install Hatch
run: pip install hatch

- name: Show dependency tree
run: hatch run ${{ matrix.hatch-env }}:pip tree
run: hatch run ${{ matrix.config.hatch-env }}:pip tree

- name: Run unit tests
run: hatch run ${{ matrix.hatch-env }}:test-unit-coverage
run: hatch run ${{ matrix.config.hatch-env }}:test-unit-coverage

0 comments on commit 55e4767

Please sign in to comment.