Add test environment setup

This commit is contained in:
Shawn 2018-12-09 23:44:00 -06:00
parent 105282b6a3
commit 31a65f566e

View file

@ -37,3 +37,12 @@ jobs:
script:
# - npm run fix
- npm run build
- stage: "Setup Tests"
name: "Setup Test Environment"
script:
- cp ./cli/defaults/* ./site/config/
- echo '{ "sessionKey": "session", "masterPassword": false }' > ./site/private/authConfig.json
- npm start &
- sleep 10 # Attempt to collect output for 10 seconds