Newer
Older
# Includes a common template
include:
- project: 'spc/tcv/tbx/git-tools-spc'
file: 'gitlab-ci-tbx-template.yml'
variables:
TBXFOLDER: matlab
# no build for gdat, so don't define jobs for build phase
extends: .test-template
tags:
- lac8-gituser
variables:
MATLABCMD: matlab960
TESTCASE: tcv
artifacts:
paths:
- test_${TBXTARGET}_${TESTCASE}_2019a_cov.xml
reports:
junit: test_${TBXTARGET}_${TESTCASE}_2019a.xml
cobertura: test_${TBXTARGET}_${TESTCASE}_2019a_cov.xml
extends: .test-template
tags:
- lac8-gituser
variables:
MATLABCMD: matlab960
TESTCASE: imas
artifacts:
paths:
- test_${TBXTARGET}_${TESTCASE}_2019a_cov.xml
reports:
junit: test_${TBXTARGET}_${TESTCASE}_2019a.xml
cobertura: test_${TBXTARGET}_${TESTCASE}_2019a_cov.xml
extends: .test-template
variables:
MATLABCMD: matlab920
extends: .test-template
variables:
MATLABCMD: matlab920
TESTCASE: imas
# Post test report collection
code-coverage-960:
extends: .code-coverage-960-template
# Staging, testing and deployment for releases
pre-deployment-staging:
extends: .staging-template
# Staging tests
#test-staging-980:
# extends: .test-staging-template
# variables:
# MATLABCMD: matlab980
extends: .test-staging-template
variables:
MATLABCMD: matlab960
test-staging-920:
extends: .test-staging-template
variables:
MATLABCMD: matlab920
# pre-deployment
pre-deployment-checks:
extends: .pre-deployment-checks-template
extends: .deploy-to-lac-template
extends: .test-post-deploy-template