forked from nasa/OnAIR
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitlab-ci.yml
26 lines (25 loc) · 836 Bytes
/
.gitlab-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
variables:
GIT_CONFIG_PARAMETERS: "'url.https://gitlab-ci-token:${CI_JOB_TOKEN}@${CI_SERVER_HOST}/.insteadof=git@${CI_SERVER_HOST}:' 'url.https://gitlab-ci-token:${CI_JOB_TOKEN}@${CI_SERVER_HOST}/.insteadof=ssh://git@${CI_SERVER_HOST}/'"
GIT_SUBMODULE_STRATEGY: recursive
PYTHONPATH: src
RUN_PATH: src/test
RESULTS_PATH: src/test/results
test-onair:
tags:
- app-builder
image: aetd-dockerlab.gsfc.nasa.gov/spar-lab/onair/onair-meta
stage: test
script:
- python3.11 -m pip install -r requirements_pip.txt
- pwd
- python3.11 driver.py -t
- coverage report
- coverage xml
coverage: '/(?i)total.*? (100(?:\.0+)?\%|[1-9]?\d(?:\.\d+)?\%)$/'
artifacts:
# paths:
# - cfs_fsw/build-sim/*
reports:
coverage_report:
coverage_format: cobertura
path: coverage.xml