Revert "fix(CI): #2441 _actually_ disable job `test_front` because most tests have become stale"

This reverts commit ca461083c2.
environments/review-docs-feat-z0hkbz/deployments/21039
jon r 2025-04-10 10:56:48 +02:00
rodzic 6106148a0e
commit 20eb030a0c
1 zmienionych plików z 24 dodań i 24 usunięć

Wyświetl plik

@ -280,31 +280,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