gitlab-ci: set a common job parent for test stage

Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Michel Dänzer <mdaenzer@redhat.com>
This commit is contained in:
Eric Engestrom 2019-10-14 23:53:15 +01:00
parent aba78c2d38
commit 3bcd54f3fc
2 changed files with 9 additions and 6 deletions

View file

@ -384,11 +384,17 @@ scons-old-llvm:
- LLVM_VERSION=4.0 .gitlab-ci/scons-build.sh
- LLVM_VERSION=5.0 .gitlab-ci/scons-build.sh
.deqp-test:
extends: .use-debian-10
.test:
extends: .ci-run-policy
stage: test
variables:
GIT_STRATEGY: none # testing doesn't build anything from source
.deqp-test:
extends:
- .test
- .use-debian-10
variables:
DEQP_SKIPS: deqp-default-skips.txt
script:
# Note: Build dir (and thus install) may be dirty due to GIT_STRATEGY

View file

@ -147,11 +147,8 @@ lava-build:arm64:
KERNEL_IMAGE_NAME: "Image"
.lava-test:
stage: test
extends:
- .ci-run-policy
variables:
GIT_STRATEGY: none # no need to pull the whole tree for submitting the job
- .test
script:
- lava_job_id=`lavacli jobs submit $CI_PROJECT_DIR/results/lava-deqp-$DEVICE_TYPE.yml`
- echo $lava_job_id