Files
openstapps/backend/backend/.gitlab-ci.yml
2023-08-03 16:30:35 +02:00

23 lines
636 B
YAML

integration:
image: registry.gitlab.com/openstapps/openstapps/node-builder
stage: test
needs: ['build']
variables:
DOCKER_DRIVER: overlay2
WAIT_FOR_SERVICES_TIMEOUT: 1
services:
- name: registry.gitlab.com/openstapps/openstapps/database:latest
alias: elasticsearch
script:
- pnpm --filter=@openstapps/backend install
- pnpm test:integration:backend
artifacts:
when: on_failure
paths:
- backend/backend/coverage/integration-report-junit.xml
reports:
junit:
- backend/backend/coverage/integration-report-junit.xml
rules:
- !reference [.limit_pipelines, rules]