mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-19 14:13:34 +01: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
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue