File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -45,12 +45,34 @@ jobs:
4545 run : |
4646 pre-commit run --all-files --show-diff-on-failure
4747
48+ e2e :
49+ name : 🧪 E2E tests
50+ needs : build
51+ runs-on : ubuntu-latest
52+ strategy :
53+ matrix :
54+ octoprint : ["master", "maintenance"]
55+ steps :
56+ - name : ⬇ Download build result
57+ uses : actions/download-artifact@v4
58+ with :
59+ name : dist
60+ path : dist
61+
62+ - name : 🎭 Run OctoPrint's E2E Tests
63+ uses : OctoPrint/actions/e2e@main
64+ with :
65+ ref : ${{ matrix.octoprint }}
66+ deps : ${{ github.workspace }}/dist/*.whl
67+ suffix : " -${{ matrix.octoprint }}"
68+
4869 publish-on-testpypi :
4970 name : 📦 Publish on TestPyPI
5071 if : github.event_name == 'release'
5172 needs :
5273 - build
5374 - pre-commit
75+ - e2e
5476 runs-on : ubuntu-latest
5577 steps :
5678 - name : ⬇ Download build result
6183 - name : 📦 Publish to index
6284 uses : pypa/gh-action-pypi-publish@release/v1
6385 with :
64- repository_url : https://test.pypi.org/legacy/
86+ repository-url : https://test.pypi.org/legacy/
6587
6688 publish-on-pypi :
6789 name : 📦 Publish tagged releases to PyPI
You can’t perform that action at this time.
0 commit comments