Skip to content
Snippets Groups Projects
Verified Commit 9be241d9 authored by Andrew Fontaine's avatar Andrew Fontaine Committed by GitLab
Browse files

Add jest jobs to run related tests with Vue 3

This will help to check if any changed frontend files break under vue 3
parent dfb7a0fc
No related branches found
No related tags found
1 merge request!147473Add jest jobs to run related tests with Vue 3
......@@ -242,6 +242,11 @@ graphql-schema-dump:
- yarn_install_script
stage: test
.vue3:
variables:
VUE_VERSION: 3
allow_failure: true
.jest-base:
extends: .frontend-test-base
script:
......@@ -264,6 +269,12 @@ jest:
junit: junit_jest.xml
parallel: 12
jest vue3:
extends:
- jest
- .frontend:rules:jest-vue3
- .vue3
jest predictive:
extends:
- jest
......
......@@ -1404,6 +1404,10 @@
changes: [".gitlab/ci/rules.gitlab-ci.yml", ".gitlab/ci/frontend.gitlab-ci.yml"]
allow_failure: true
.frontend:rules:jest-vue3:
rules:
- <<: *if-default-branch-schedule-nightly
################
# Memory rules #
################
......
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