ci: uncomment and rework test_front job
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2286>
This commit is contained in:
parent
1a9b93183d
commit
f257d9ddc0
|
@ -214,37 +214,27 @@ test_api:
|
||||||
path: api/coverage.xml
|
path: api/coverage.xml
|
||||||
coverage: '/TOTAL\s*\d*\s*\d*\s*(\d*%)/'
|
coverage: '/TOTAL\s*\d*\s*\d*\s*(\d*%)/'
|
||||||
|
|
||||||
# Those tests are disabled for now since no vitest dom emulation is providing
|
test_front:
|
||||||
# AudioContext, which is required for our HTML audio player
|
interruptible: true
|
||||||
#test_front:
|
stage: test
|
||||||
# interruptible: true
|
rules:
|
||||||
# stage: test
|
# Disabled for now since no vitest dom emulation is providing
|
||||||
# image: node:18-alpine
|
# AudioContext, which is required for our HTML audio player
|
||||||
# before_script:
|
- when: never
|
||||||
# - cd front
|
- if: $CI_COMMIT_BRANCH =~ /(stable|develop)/
|
||||||
# - apk add --no-cache jq bash coreutils python3
|
- changes: [front/**/*]
|
||||||
# script:
|
|
||||||
# - yarn install --check-files
|
image: $CI_REGISTRY/funkwhale/ci/node-python:18
|
||||||
# - yarn test:unit
|
cache:
|
||||||
# cache:
|
paths: [$YARN_CACHE_FOLDER]
|
||||||
# key: "funkwhale__front_dependencies"
|
before_script:
|
||||||
# paths:
|
- cd front
|
||||||
# - front/node_modules
|
- yarn install --frozen-lockfile
|
||||||
# - front/yarn.lock
|
script:
|
||||||
# artifacts:
|
- yarn test:unit
|
||||||
# name: "front_${CI_COMMIT_REF_NAME}"
|
artifacts:
|
||||||
# paths:
|
reports:
|
||||||
# - front/dist/
|
junit: front/coverage/cobertura-coverage.xml
|
||||||
# reports:
|
|
||||||
# junit: front/coverage/cobertura-coverage.xml
|
|
||||||
# tags:
|
|
||||||
# - docker
|
|
||||||
# rules:
|
|
||||||
# - if: $CI_PIPELINE_SOURCE == "merge_request_event" || $CI_PIPELINE_SOURCE == "push"
|
|
||||||
# changes:
|
|
||||||
# - front/**/*
|
|
||||||
# - if: $CI_COMMIT_REF_PROTECTED == "true"
|
|
||||||
# when: always
|
|
||||||
|
|
||||||
build_api_schema:
|
build_api_schema:
|
||||||
stage: build
|
stage: build
|
||||||
|
|
Loading…
Reference in New Issue