fix(CI): #2441 _actually_ disable job `test_front` because most tests have become stale
This commit is contained in:
parent
edc7f9d872
commit
ca461083c2
|
@ -279,31 +279,31 @@ test_api:
|
|||
path: api/coverage.xml
|
||||
coverage: '/TOTAL\s*\d*\s*\d*\s*(\d*%)/'
|
||||
|
||||
test_front:
|
||||
stage: test
|
||||
needs:
|
||||
- job: lint_front
|
||||
rules:
|
||||
- if: $CI_COMMIT_BRANCH =~ /(stable|develop)/
|
||||
- changes: [front/**/*]
|
||||
# test_front:
|
||||
# stage: test
|
||||
# needs:
|
||||
# - job: lint_front
|
||||
# rules:
|
||||
# - if: $CI_COMMIT_BRANCH =~ /(stable|develop)/
|
||||
# - changes: [front/**/*]
|
||||
|
||||
image: $CI_REGISTRY/funkwhale/ci/node-python:18
|
||||
cache:
|
||||
- *yarn_cache
|
||||
- *node_cache
|
||||
- *lint_cache
|
||||
before_script:
|
||||
- cd front
|
||||
- yarn install --frozen-lockfile
|
||||
script:
|
||||
- yarn test:unit
|
||||
artifacts:
|
||||
reports:
|
||||
junit: front/test_results.xml
|
||||
coverage_report:
|
||||
coverage_format: cobertura
|
||||
path: front/coverage/cobertura-coverage.xml
|
||||
coverage: '/All files\s+(?:\|\s+((?:\d+\.)?\d+)\s+){4}.*/'
|
||||
# image: $CI_REGISTRY/funkwhale/ci/node-python:18
|
||||
# cache:
|
||||
# - *yarn_cache
|
||||
# - *node_cache
|
||||
# - *lint_cache
|
||||
# before_script:
|
||||
# - cd front
|
||||
# - yarn install --frozen-lockfile
|
||||
# script:
|
||||
# - yarn test:unit
|
||||
# artifacts:
|
||||
# reports:
|
||||
# junit: front/test_results.xml
|
||||
# coverage_report:
|
||||
# coverage_format: cobertura
|
||||
# path: front/coverage/cobertura-coverage.xml
|
||||
# coverage: '/All files\s+(?:\|\s+((?:\d+\.)?\d+)\s+){4}.*/'
|
||||
|
||||
build_metadata:
|
||||
stage: build
|
||||
|
|
Loading…
Reference in New Issue