Skip to content
Snippets Groups Projects
Commit 1b8ed79c authored by Falk's avatar Falk :ping_pong:
Browse files

Correct script statement for server test

parent 0875c69e
No related branches found
No related tags found
No related merge requests found
...@@ -2,7 +2,7 @@ image: node:12.16.3 ...@@ -2,7 +2,7 @@ image: node:12.16.3
variables: variables:
MONGODB_VERSION: '4.2.6' MONGODB_VERSION: '4.2.6'
MONGODB_URL: 'mongodb:27017/test' MONGODB_URL: 'mongodb://mongodb:27017/test'
JWT_SECRET: 'test' JWT_SECRET: 'test'
# http://docs.gitlab.com/ee/ci/yaml/README.html#cache # http://docs.gitlab.com/ee/ci/yaml/README.html#cache
...@@ -24,6 +24,5 @@ test_server: ...@@ -24,6 +24,5 @@ test_server:
script: script:
- cd app/server - cd app/server
- npm install - npm install
- PORT=3002 \ - PORT=3002 && npm run test
npm run test
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment