From 32ee5f21252b89ec49fe8461d55fc14e4ba4b377 Mon Sep 17 00:00:00 2001 From: "Aaron B. Haun" Date: Sat, 7 Sep 2024 10:52:04 -0400 Subject: [PATCH 1/2] feat(ci): expand matrix accross python and klipper versions --- .github/workflows/test.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8f726d7..49672aa 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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: @@ -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 From ecea52112f30dd2ca439d7e04ce7114baadff47e Mon Sep 17 00:00:00 2001 From: "Aaron B. Haun" Date: Sat, 7 Sep 2024 11:37:29 -0400 Subject: [PATCH 2/2] docs: Add maintnence steps for klippy/python versions --- MAINTNENCE.md | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 MAINTNENCE.md diff --git a/MAINTNENCE.md b/MAINTNENCE.md new file mode 100644 index 0000000..f24ed3c --- /dev/null +++ b/MAINTNENCE.md @@ -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.