Skip to content

Commit

Permalink
Test GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
antonymilne committed Dec 6, 2023
1 parent aafcae3 commit f07e5bf
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/test-unit-vizro-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,11 @@ jobs:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
include:
- python-version: "3.11"
lower-bounds: true

# write matrix out manually with var for hatch env
steps:
- uses: actions/checkout@v4

Expand All @@ -38,6 +42,11 @@ jobs:
- name: Install Hatch
run: pip install --upgrade hatch

- if: matrix.lower-bounds
name: Activate hatch environment
run: hatch -e lower-bounds shell


- name: List dependencies
run: hatch run all.py${{ matrix.python-version }}:pip freeze

Expand Down
3 changes: 3 additions & 0 deletions vizro-core/hatch.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ matrix.python.features = [
{value = "kedro", if = ["3.8", "3.9", "3.10"]}
]

[envs.lower-bounds]
extra-dependencies = ["pydantic==2.5.0"]

[envs.changelog]
dependencies = ["scriv"]
detached = true
Expand Down

0 comments on commit f07e5bf

Please sign in to comment.