Compare commits

...

3 Commits

Author SHA1 Message Date
John McLear f79bca4226 Update windows-zip.yml 2021-03-01 19:55:58 +00:00
John McLear 10e2736f6d Update windows-zip.yml 2021-03-01 19:44:36 +00:00
John McLear d6edb34497 tests: Azure deploy from Network Share test coverage 2021-03-01 19:27:58 +00:00
1 changed files with 16 additions and 1 deletions

View File

@ -57,6 +57,9 @@ jobs:
runs-on: windows-latest
steps:
- name: tests
run: cd
- name: Download zip
uses: actions/download-artifact@v2
with:
@ -65,10 +68,22 @@ jobs:
- name: Extract Etherpad
run: 7z x etherpad-lite-win.zip -oetherpad
- name: Create & mount network share and Run / Test Etherpad
run: |
net share etherpad=d:\a\_temp\etherpad /grant:everyone,FULL
net mount y: \\localhost\etherpad
dir y:\
y:
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
## TODO: move this back up above network share stuff..
- name: Install Cypress
run: npm install cypress -g
- name: Run Etherpad
- name: Run / Test Etherpad
run: |
cd etherpad
node node_modules\ep_etherpad-lite\node\server.js &