summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2019-08-14 09:21:15 +0200
committerDaniel Friesel <daniel.friesel@uos.de>2019-08-14 09:21:15 +0200
commitf1fde5fac548fb37a65fa5b3d65f69cf45c53815 (patch)
treed2ee06d33f0c3702c0164e966366602b4b6aca12 /.gitlab-ci.yml
parentff4f2ed5ba5d81e7539b558b4f2ec4d9ea8335a5 (diff)
GitLab CI: turns out temporary files are cleaned between stages
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml8
1 files changed, 2 insertions, 6 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index cfad73f..6299918 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -2,9 +2,8 @@ image: debian:buster
stages:
- test
- - coverage
-test:
+run_tests:
stage: test
script:
- apt-get update -qy
@@ -20,10 +19,7 @@ test:
- wget -qO test-data/20170220_164723_RF24_int_A.tar https://lib.finalrewind.org/energy-models/20170220_164723_RF24_int_A.tar
- wget -qO test-data/20190726_150423_nRF24_no-rx.json https://lib.finalrewind.org/energy-models/20190726_150423_nRF24_no-rx.json
- PYTHONPATH=lib pytest-3 --cov=lib
-
-coverage:
- stage: coverage
- script: python3-coverage html
+ - python3-coverage html
artifacts:
paths:
- htmlcov/