Skip to content

Commit 6a58438

Browse files
committed
ci: more testing
1 parent e4e5a3d commit 6a58438

1 file changed

Lines changed: 14 additions & 4 deletions

File tree

.github/workflows/build.yml

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,9 @@ jobs:
4747
test-install:
4848
name: 🧪 Installation test
4949
strategy:
50+
fail-fast: false
5051
matrix:
51-
python: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
52+
python: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
5253
runs-on: ubuntu-22.04 # change back to ubuntu-latest once we drop Python 3.7
5354
steps:
5455
- uses: actions/checkout@v4
@@ -61,13 +62,20 @@ jobs:
6162
pip install octoprint
6263
pip install -e .[develop]
6364
64-
e2e:
65+
test-e2e:
6566
name: 🧪 E2E tests
6667
needs: build
6768
runs-on: ubuntu-22.04 # change back to ubuntu-latest once we drop Python 3.7 & upgrade playwright
6869
strategy:
70+
fail-fast: false
6971
matrix:
7072
octoprint: ["master", "maintenance"]
73+
python: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
74+
exclude:
75+
- octoprint: "maintenance"
76+
python: "3.7"
77+
- octoprint: "maintenance"
78+
python: "3.8"
7179
steps:
7280
- name: ⬇ Download build result
7381
uses: actions/download-artifact@v4
@@ -79,16 +87,18 @@ jobs:
7987
uses: OctoPrint/actions/e2e@main
8088
with:
8189
ref: ${{ matrix.octoprint }}
90+
python: ${{ matrix.python }}
8291
deps: ${{ github.workspace }}/dist/*.whl
83-
suffix: "-${{ matrix.octoprint }}"
92+
suffix: "-${{ matrix.octoprint }}-py${{ matrix.python }}"
8493

8594
publish-on-testpypi:
8695
name: 📦 Publish on TestPyPI
8796
if: github.event_name == 'release'
8897
needs:
8998
- build
9099
- pre-commit
91-
- e2e
100+
- test-install
101+
- test-e2e
92102
runs-on: ubuntu-latest
93103
permissions:
94104
id-token: write

0 commit comments

Comments
 (0)