mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-15 20:29:52 +01:00
Run optional tests automatically for tags, otherwise manually.
This commit is contained in:
@@ -2,8 +2,8 @@ image: briar/ci-image-android:latest
|
|||||||
|
|
||||||
stages:
|
stages:
|
||||||
- test
|
- test
|
||||||
- check_reproducibility
|
|
||||||
- optional_tests
|
- optional_tests
|
||||||
|
- check_reproducibility
|
||||||
|
|
||||||
test:
|
test:
|
||||||
stage: test
|
stage: test
|
||||||
@@ -33,7 +33,7 @@ test_reproducible:
|
|||||||
only:
|
only:
|
||||||
- tags
|
- tags
|
||||||
|
|
||||||
optional_tests:
|
.optional_tests:
|
||||||
stage: optional_tests
|
stage: optional_tests
|
||||||
before_script:
|
before_script:
|
||||||
- set -e
|
- set -e
|
||||||
@@ -52,4 +52,13 @@ optional_tests:
|
|||||||
- rm -f $GRADLE_USER_HOME/caches/modules-2/modules-2.lock
|
- rm -f $GRADLE_USER_HOME/caches/modules-2/modules-2.lock
|
||||||
- rm -fr $GRADLE_USER_HOME/caches/*/plugin-resolution/
|
- rm -fr $GRADLE_USER_HOME/caches/*/plugin-resolution/
|
||||||
|
|
||||||
|
manual_tests:
|
||||||
|
extends: .optional_tests
|
||||||
when: manual
|
when: manual
|
||||||
|
except:
|
||||||
|
- tags
|
||||||
|
|
||||||
|
pre_release_tests:
|
||||||
|
extends: .optional_tests
|
||||||
|
only:
|
||||||
|
- tags
|
||||||
|
|||||||
Reference in New Issue
Block a user