Compare commits
3 Commits
develop
...
windows-ci
Author | SHA1 | Date |
---|---|---|
John McLear | f79bca4226 | |
John McLear | 10e2736f6d | |
John McLear | d6edb34497 |
|
@ -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 &
|
||||
|
|
Loading…
Reference in New Issue