Update windows-zip.yml

This commit is contained in:
John McLear 2021-03-01 19:44:36 +00:00
parent d6edb34497
commit 10e2736f6d

View file

@ -65,20 +65,9 @@ jobs:
- name: Extract Etherpad
run: 7z x etherpad-lite-win.zip -oetherpad
- name: Install Cypress
run: npm install cypress -g
- name: Run Etherpad
- name: Create & mount network share and 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
- name: Create and mount network share
run: |
net share etherpad=etherpad /grant:everyone,FULL
net share etherpad=d:\a\_temp\etherpad /grant:everyone,FULL
net mount y: \\localhost\etherpad
dir 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
cd src\tests\frontend
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