diff --git a/.github/workflows/windows-zip.yml b/.github/workflows/windows-zip.yml index 3feb7c960..51590f809 100644 --- a/.github/workflows/windows-zip.yml +++ b/.github/workflows/windows-zip.yml @@ -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