Skip to content
Snippets Groups Projects
Commit a0e842a1 authored by Clément Jonglez's avatar Clément Jonglez
Browse files

gitlab CI: pytest PyhelpersTest.py twice, with and without orekitdata lib

parent aa87b90d
Branches
Tags
1 merge request!10make setup_orekit_data more robust
......@@ -9,7 +9,6 @@ default:
- virtualenv venv
- source venv/bin/activate
- pip install pytest numpy jpype1 stubgenj build pytest pytest-cov flake8 flake8-gl-codeclimate "jdk4py==17.0.9.2"
- pip install git+https://gitlab.orekit.org/orekit/orekit-data.git
variables: # Change pip's cache directory to be inside the project directory since we can only cache local items.
PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
......@@ -50,6 +49,8 @@ test-and-coverage:
- export JAVA_HOME=`python3 set_java_home.py`
- python3 -m pip install .
- cd test
- python3 -m pytest PyhelpersTest.py # First test setup_orekit_data without the orekitdata library
- pip install git+https://gitlab.orekit.org/orekit/orekit-data.git
- python3 -m pytest --cov=orekit_jpype --cov-report term --cov-report xml:coverage.xml
- cd ../tests-jvm
- find . -name "*.py" -exec python3 -m pytest {} \;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment