Skip to content
Snippets Groups Projects
Commit fafcfeb4 authored by Mathias Picker's avatar Mathias Picker
Browse files

ci

parent 24006165
No related branches found
No related tags found
No related merge requests found
Pipeline #87969 failed
...@@ -18,6 +18,8 @@ install: ...@@ -18,6 +18,8 @@ install:
artifacts: artifacts:
paths: paths:
- node_modules - node_modules
test:
stage: test stage: test
script: script:
- apt-get update - apt-get update
...@@ -31,16 +33,11 @@ install: ...@@ -31,16 +33,11 @@ install:
# Create database table # Create database table
- echo "CREATE TABLE Tasks (id INT NOT NULL AUTO_INCREMENT, title TEXT NOT NULL, done BOOL - echo "CREATE TABLE Tasks (id INT NOT NULL AUTO_INCREMENT, title TEXT NOT NULL, done BOOL
DEFAULT false, PRIMARY KEY(id));" | mysql $MYSQL_DATABASE DEFAULT false, PRIMARY KEY(id));" | mysql $MYSQL_DATABASE
test_server:
stage: test
script:
- cd server - cd server
- npm install - npm install
- npm test - npm test
test_client: test_client:
stage: test
script: script:
- cd client - cd client
- npm install - npm install
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment