Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
orekit_jpype
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Orekit
orekit_jpype
Commits
a0e842a1
Commit
a0e842a1
authored
10 months ago
by
Clément Jonglez
Browse files
Options
Downloads
Patches
Plain Diff
gitlab CI: pytest PyhelpersTest.py twice, with and without orekitdata lib
parent
aa87b90d
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!10
make setup_orekit_data more robust
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+2
-1
2 additions, 1 deletion
.gitlab-ci.yml
with
2 additions
and
1 deletion
.gitlab-ci.yml
+
2
−
1
View file @
a0e842a1
...
...
@@ -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 {} \;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment