kopia lustrzana https://dev.funkwhale.audio/funkwhale/funkwhale
ci(testing): Only run tests for relevant changes
rodzic
570af9f1b2
commit
5c72d8d8c4
|
@ -207,6 +207,10 @@ test_api:
|
||||||
- PY_VER: ["3.7", "3.8", "3.9", "3.10", "3.11"]
|
- PY_VER: ["3.7", "3.8", "3.9", "3.10", "3.11"]
|
||||||
image: $CI_REGISTRY/funkwhale/backend-test-docker:$PY_VER
|
image: $CI_REGISTRY/funkwhale/backend-test-docker:$PY_VER
|
||||||
coverage: '/TOTAL\s*\d*\s*\d*\s*(\d*%)/'
|
coverage: '/TOTAL\s*\d*\s*\d*\s*(\d*%)/'
|
||||||
|
rules:
|
||||||
|
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
|
||||||
|
changes:
|
||||||
|
- api/**/*
|
||||||
|
|
||||||
test_front:
|
test_front:
|
||||||
interruptible: true
|
interruptible: true
|
||||||
|
@ -231,6 +235,10 @@ test_front:
|
||||||
junit: front/coverage/cobertura-coverage.xml
|
junit: front/coverage/cobertura-coverage.xml
|
||||||
tags:
|
tags:
|
||||||
- docker
|
- docker
|
||||||
|
rules:
|
||||||
|
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
|
||||||
|
changes:
|
||||||
|
- front/**/*
|
||||||
|
|
||||||
build_docs:
|
build_docs:
|
||||||
stage: build
|
stage: build
|
||||||
|
|
Ładowanie…
Reference in New Issue