File tree Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change 57
57
uses : actions/checkout@v4
58
58
with :
59
59
repository : OctoPrint/OctoPrint
60
+ ref : maintenance
61
+ fetch-depth : 0
60
62
path : OctoPrint
61
63
62
64
- name : ⬇ Download build result
@@ -72,19 +74,21 @@ jobs:
72
74
73
75
- name : 🏗 Install OctoPrint
74
76
run : |
75
- cd OctoPrint
76
- pip install .
77
- pip install ${{ github.workspace }}/dist/*.whl
77
+ pip install OctoPrint
78
+ pip install --force-reinstall ${{ github.workspace }}/dist/*.whl
78
79
79
80
- name : 🏗 Create base config for test server
80
81
run : |
81
82
mkdir e2econfig
82
83
cp -r OctoPrint/.github/fixtures/with_acl/* e2econfig
83
84
84
- - name : 🏗 Install dummy mfa plugin
85
+ - name : 🏗 Install dummy mfa plugin if available
85
86
run : |
86
- mkdir -p e2econfig/plugins
87
- cp -r OctoPrint/.github/fixtures/mfa_dummy e2econfig/plugins/mfa_dummy
87
+ plugin="${{ github.workspace }}/OctoPrint/.github/fixtures/mfa_dummy"
88
+ if [ -f "$plugin" ]; then
89
+ mkdir -p e2econfig/plugins
90
+ cp -r "$plugin" "e2econfig/plugins/mfa_dummy"
91
+ fi
88
92
89
93
- name : 🏗 Prepare Playwright env
90
94
working-directory : ./OctoPrint/tests/playwright
You can’t perform that action at this time.
0 commit comments