Skip to content

Commit de56218

Browse files
committed
Update CI to run unit tests
1 parent a8df9ec commit de56218

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

.gitlab-ci.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,19 @@ stages:
22
- build
33
- test
44

5+
run_unit_tests:
6+
image: docker-registry.ebrains.eu/model-catalog/node:22-alpine
7+
stage: test
8+
rules:
9+
- changes:
10+
- apps/model_catalog/**/*
11+
script:
12+
- cd apps/model_catalog
13+
- npm ci
14+
- npm run test
15+
tags:
16+
- docker-runner
17+
518
run_cypress_tests:
619
image: cypress/browsers:node12.14.1-chrome85-ff81
720
stage: test

0 commit comments

Comments
 (0)