Skip to content
Snippets Groups Projects
Commit e5cc5e5a authored by Lukas Leufen's avatar Lukas Leufen
Browse files

source venv in all python stages, also run tests from scratch to check

parent 1fd2b516
No related branches found
No related tags found
6 merge requests!468first implementation of toar-data-v2, can load data (but cannot process these...,!467Resolve "release v2.2.0",!455update for reqs,!449Lukas issue402 tech hpc env update,!448Resolve "update HPC environment",!437Resolve "era5 data"
Pipeline #105584 failed
......@@ -31,16 +31,17 @@ tests (from scratch):
- base
- zam347
stage: test
only:
- master
- /^release.*$/
- develop
#only:
# - master
# - /^release.*$/
# - develop
variables:
FAILURE_THRESHOLD: 100
TEST_TYPE: "scratch"
before_script:
- chmod +x ./CI/update_badge.sh
- ./CI/update_badge.sh > /dev/null
- source /opt/venv/bin/activate
script:
- pip install --upgrade pip
# - pip install numpy wheel six==1.15.0
......@@ -133,6 +134,7 @@ coverage:
before_script:
- chmod +x ./CI/update_badge.sh
- ./CI/update_badge.sh > /dev/null
- source /opt/venv/bin/activate
script:
- pip install -r requirements.txt
- chmod +x ./CI/run_pytest_coverage.sh
......@@ -156,6 +158,7 @@ sphinx docs:
before_script:
- chmod +x ./CI/update_badge.sh
- ./CI/update_badge.sh > /dev/null
- source /opt/venv/bin/activate
script:
- pip install -r requirements.txt
- pip install -r docs/requirements_docs.txt
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment