mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-04 20:42:52 +00:00
28 lines
861 B
YAML
28 lines
861 B
YAML
e2e:
|
|
image: cypress/browsers:latest # https://hub.docker.com/r/cypress/browsers/tags/
|
|
stage: test
|
|
script:
|
|
- apt-get update && apt-get install -y musl-dev
|
|
- ln -s /usr/lib/x86_64-linux-musl/libc.so /lib/libc.musl-x86_64.so.1
|
|
- pnpm --filter=@openstapps/app install
|
|
- pnpm --filter=@openstapps/app exec cypress install
|
|
- cd node_modules/.pnpm/re2*/node_modules/re2
|
|
- npm run install
|
|
- cd $CI_PROJECT_DIR
|
|
- pnpm test:integration:app
|
|
artifacts:
|
|
when: on_failure
|
|
paths:
|
|
- frontend/app/cypress/videos
|
|
- frontend/app/cypress/screenshots
|
|
- frontend/app/coverage/integration-report-junit.xml
|
|
reports:
|
|
junit:
|
|
- frontend/app/coverage/integration-report-junit.xml
|
|
parallel:
|
|
matrix:
|
|
- BROWSER: chrome
|
|
- BROWSER: firefox
|
|
rules:
|
|
- !reference [.limit_pipelines, rules]
|