Commit 652c21fd authored by Rémy Coutable's avatar Rémy Coutable

Don't run 'coverage-frontend' on FOSS as it's useless

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 99b3ee82
...@@ -152,7 +152,7 @@ frontend-fixtures: ...@@ -152,7 +152,7 @@ frontend-fixtures:
frontend-fixtures-as-if-foss: frontend-fixtures-as-if-foss:
extends: extends:
- .frontend-fixtures-base - .frontend-fixtures-base
- .frontend:rules:default-frontend-jobs-as-if-foss - .frontend:rules:default-frontend-jobs-no-foss
- .as-if-foss - .as-if-foss
.frontend-job-base: .frontend-job-base:
...@@ -195,7 +195,7 @@ karma: ...@@ -195,7 +195,7 @@ karma:
karma-as-if-foss: karma-as-if-foss:
extends: extends:
- .karma-base - .karma-base
- .frontend:rules:default-frontend-jobs-as-if-foss - .frontend:rules:default-frontend-jobs-no-foss
- .as-if-foss - .as-if-foss
needs: ["frontend-fixtures-as-if-foss"] needs: ["frontend-fixtures-as-if-foss"]
...@@ -230,7 +230,7 @@ jest: ...@@ -230,7 +230,7 @@ jest:
jest-as-if-foss: jest-as-if-foss:
extends: extends:
- .jest-base - .jest-base
- .frontend:rules:default-frontend-jobs-as-if-foss - .frontend:rules:default-frontend-jobs-no-foss
- .as-if-foss - .as-if-foss
needs: ["frontend-fixtures-as-if-foss"] needs: ["frontend-fixtures-as-if-foss"]
cache: cache:
...@@ -239,7 +239,7 @@ jest-as-if-foss: ...@@ -239,7 +239,7 @@ jest-as-if-foss:
coverage-frontend: coverage-frontend:
extends: extends:
- .default-retry - .default-retry
- .frontend:rules:default-frontend-jobs - .frontend:rules:default-frontend-jobs-no-foss
needs: ["jest"] needs: ["jest"]
stage: post-test stage: post-test
before_script: before_script:
......
...@@ -261,7 +261,7 @@ ...@@ -261,7 +261,7 @@
changes: *code-backstage-patterns changes: *code-backstage-patterns
when: on_success when: on_success
.frontend:rules:default-frontend-jobs-as-if-foss: .frontend:rules:default-frontend-jobs-no-foss:
rules: rules:
- <<: *if-not-ee - <<: *if-not-ee
when: never when: never
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment