From f1fde5fac548fb37a65fa5b3d65f69cf45c53815 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Wed, 14 Aug 2019 09:21:15 +0200 Subject: GitLab CI: turns out temporary files are cleaned between stages --- .gitlab-ci.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to '.gitlab-ci.yml') 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/ -- cgit v1.2.3