Skip to content

Commit

Permalink
Merge pull request #152 from Laikulo/feature/ci-matrix
Browse files Browse the repository at this point in the history
feat(ci): expand matrix accross python and klipper versions
  • Loading branch information
Frix-x authored Sep 12, 2024
2 parents a0b2874 + ecea521 commit f6bfaca
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,18 @@ jobs:
klipper_repo:
- klipper3d/klipper
- DangerKlippers/danger-klipper
klipper_version:
- master
- v0.12.0
python_version:
- '3.9' # Debian Bullseye default
- '3.11' # Debian Bookworm default
# Below disabled - Greenlet upstream version not compatable with py 3.12
# - '3.12' # Latest Released as of 2024/9
steps:
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python_version }}
- name: Checkout shaketune
uses: actions/checkout@v4
with:
Expand All @@ -23,7 +34,7 @@ jobs:
with:
path: klipper
repository: ${{ matrix.klipper_repo }}
ref: master
ref: ${{ matrix.klipper_version }}
- name: Install build dependencies
run: |
sudo apt-get update
Expand Down
7 changes: 7 additions & 0 deletions MAINTNENCE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
## When a new stable version of klipper is released:

In `.github/workflows/test.yaml`, update `jobs.klippy_testing.strategy.matrix.klipper_version` to include the new version.

## When a new version of python becomes supported by klipper

In `.github/workflows/test.yaml`, update `jobs.klippy_testing.strategy.matrix.python_version` to include the new version.

0 comments on commit f6bfaca

Please sign in to comment.