Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
sec23
korte
pymagglobal
Commits
a675f5ad
Commit
a675f5ad
authored
Oct 28, 2021
by
Maximilian Schanner
Browse files
Fix segmentation fault in tests.
parent
641ad641
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
a675f5ad
...
...
@@ -27,6 +27,7 @@ build-job:
-
pymagglobal/*.py
-
pymagglobal/dat/*
-
setup.py
-
tests/*
test-run
:
stage
:
test
...
...
@@ -34,6 +35,9 @@ test-run:
-
apt-get update -y -qq
-
apt-get install -y -qq python3-dev python3-pip libproj-dev libgeos-dev proj-bin
-
pip install pymagglobal -f dist/
# This is to cope with a segfault that suddenly appeared with cartopy
-
pip uninstall -y shapely
-
'
pip
install
--no-binary
:all:
shapely'
-
python3 tests/run_tests.py
-
pip uninstall -y pymagglobal
-
pip install pymagglobal[tests] -f dist/
...
...
@@ -98,6 +102,9 @@ test-debian:
-
apt-get update -y -qq
-
apt-get install -y -qq python3-dev python3-pip libproj-dev libgeos-dev proj-bin
-
pip install pymagglobal --extra-index-url https://public:5mz_iyigu-WE3HySBH1J@git.gfz-potsdam.de/api/v4/projects/${CI_PROJECT_ID}/packages/pypi/simple
# This is to cope with a segfault that suddenly appeared with cartopy
-
pip uninstall -y shapely
-
'
pip
install
--no-binary
:all:
shapely'
-
python3 tests/run_tests.py
-
pip uninstall -y pymagglobal
-
pip install pymagglobal[tests] --extra-index-url https://public:5mz_iyigu-WE3HySBH1J@git.gfz-potsdam.de/api/v4/projects/${CI_PROJECT_ID}/packages/pypi/simple
...
...
@@ -134,5 +141,12 @@ pages:
paths
:
-
public
only
:
-
master
refs
:
-
master
changes
:
-
pymagglobal/*.py
-
pymagglobal/dat/*
-
setup.py
-
docs/*
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment