File tree Expand file tree Collapse file tree 1 file changed +23
-1
lines changed Expand file tree Collapse file tree 1 file changed +23
-1
lines changed Original file line number Diff line number Diff line change @@ -45,12 +45,34 @@ jobs:
45
45
run : |
46
46
pre-commit run --all-files --show-diff-on-failure
47
47
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
+
48
69
publish-on-testpypi :
49
70
name : 📦 Publish on TestPyPI
50
71
if : github.event_name == 'release'
51
72
needs :
52
73
- build
53
74
- pre-commit
75
+ - e2e
54
76
runs-on : ubuntu-latest
55
77
steps :
56
78
- name : ⬇ Download build result
61
83
- name : 📦 Publish to index
62
84
uses : pypa/gh-action-pypi-publish@release/v1
63
85
with :
64
- repository_url : https://test.pypi.org/legacy/
86
+ repository-url : https://test.pypi.org/legacy/
65
87
66
88
publish-on-pypi :
67
89
name : 📦 Publish tagged releases to PyPI
You can’t perform that action at this time.
0 commit comments