Commit dff91c97 authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Added a test for sdist pip install. #344

parent 10a0f13a
Pipeline #74702 passed with stages
in 19 minutes and 35 seconds
...@@ -94,6 +94,24 @@ tests: ...@@ -94,6 +94,24 @@ tests:
- $CI_COMMIT_REF_NAME =~ /^dev-.*$/ - $CI_COMMIT_REF_NAME =~ /^dev-.*$/
- $CI_COMMIT_MESSAGE =~ /\[skip[ _-]tests?\]/i - $CI_COMMIT_MESSAGE =~ /\[skip[ _-]tests?\]/i
install_tests:
stage: test
image: python:3.6
before_script:
- git submodule sync
- git submodule update --init --jobs=4
script:
- pip install --upgrade pip
- pip install fastentrypoints
- pip install pyyaml
- pip install numpy
- python setup.py compile
- python setup.py sdist
- pip install dist/nomad-0.8.0.tar.gz
- python -c "import nomad.datamodel, nomad.datamodel.metainfo, nomad.client"
- pip install dist/nomad-0.8.0.tar.gz[parsing]
- python -m nomad.cli parse tests/data/parsers/vasp/vasp.xml
deploy: deploy:
stage: deploy stage: deploy
before_script: before_script:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment