mirror of
https://github.com/standardnotes/server
synced 2026-08-28 11:57:18 -04:00
chore: add logs to e2e procedure
This commit is contained in:
@@ -78,7 +78,7 @@ jobs:
|
||||
docker network connect --alias cache e2e-network cache
|
||||
|
||||
- name: Run Server
|
||||
run: docker run --network e2e-network -d -p 3123:3000 standardnotes/server:${{ github.sha }}
|
||||
run: docker run -v $(pwd)/logs:/var/lib/server/logs --network e2e-network -d -p 3123:3000 standardnotes/server:${{ github.sha }}
|
||||
env:
|
||||
EXPOSED_PORT: 3123
|
||||
EXPOSED_FILES_SERVER_PORT: 3125
|
||||
@@ -101,7 +101,7 @@ jobs:
|
||||
API_GATEWAY_LOG_LEVEL: debug
|
||||
|
||||
- name: Wait for server to start
|
||||
run: docker/is-available.sh http://localhost:3123
|
||||
run: docker/is-available.sh http://localhost:3123 $(pwd)/logs
|
||||
|
||||
- name: Run E2E Test Suite
|
||||
run: yarn dlx mocha-headless-chrome --timeout 1200000 -f http://localhost:9001/mocha/test.html
|
||||
|
||||
Reference in New Issue
Block a user