mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-20 15:36:16 -04:00
Update windows-zip.yml
This commit is contained in:
parent
d6edb34497
commit
10e2736f6d
1 changed files with 14 additions and 13 deletions
27
.github/workflows/windows-zip.yml
vendored
27
.github/workflows/windows-zip.yml
vendored
|
@ -65,20 +65,9 @@ jobs:
|
||||||
- name: Extract Etherpad
|
- name: Extract Etherpad
|
||||||
run: 7z x etherpad-lite-win.zip -oetherpad
|
run: 7z x etherpad-lite-win.zip -oetherpad
|
||||||
|
|
||||||
- name: Install Cypress
|
- name: Create & mount network share and Run / Test Etherpad
|
||||||
run: npm install cypress -g
|
|
||||||
|
|
||||||
- name: Run Etherpad
|
|
||||||
run: |
|
run: |
|
||||||
cd etherpad
|
net share etherpad=d:\a\_temp\etherpad /grant:everyone,FULL
|
||||||
node node_modules\ep_etherpad-lite\node\server.js &
|
|
||||||
curl --connect-timeout 10 --max-time 20 --retry 5 --retry-delay 10 --retry-max-time 60 --retry-connrefused http://127.0.0.1:9001/p/test
|
|
||||||
cd src\tests\frontend
|
|
||||||
cypress run --spec cypress\integration\test.js --config-file cypress\cypress.json
|
|
||||||
|
|
||||||
- name: Create and mount network share
|
|
||||||
run: |
|
|
||||||
net share etherpad=etherpad /grant:everyone,FULL
|
|
||||||
net mount y: \\localhost\etherpad
|
net mount y: \\localhost\etherpad
|
||||||
dir y:\
|
dir y:\
|
||||||
y:
|
y:
|
||||||
|
@ -86,3 +75,15 @@ jobs:
|
||||||
curl --connect-timeout 10 --max-time 20 --retry 5 --retry-delay 10 --retry-max-time 60 --retry-connrefused http://127.0.0.1:9001/p/test
|
curl --connect-timeout 10 --max-time 20 --retry 5 --retry-delay 10 --retry-max-time 60 --retry-connrefused http://127.0.0.1:9001/p/test
|
||||||
cd src\tests\frontend
|
cd src\tests\frontend
|
||||||
cypress run --spec cypress\integration\test.js --config-file cypress\cypress.json
|
cypress run --spec cypress\integration\test.js --config-file cypress\cypress.json
|
||||||
|
|
||||||
|
## TODO: move this back up above network share stuff..
|
||||||
|
- name: Install Cypress
|
||||||
|
run: npm install cypress -g
|
||||||
|
|
||||||
|
- name: Run / Test Etherpad
|
||||||
|
run: |
|
||||||
|
cd etherpad
|
||||||
|
node node_modules\ep_etherpad-lite\node\server.js &
|
||||||
|
curl --connect-timeout 10 --max-time 20 --retry 5 --retry-delay 10 --retry-max-time 60 --retry-connrefused http://127.0.0.1:9001/p/test
|
||||||
|
cd src\tests\frontend
|
||||||
|
cypress run --spec cypress\integration\test.js --config-file cypress\cypress.json
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue