Skip to content
Snippets Groups Projects
Commit 337478ce authored by Anastasiia Varentcova's avatar Anastasiia Varentcova
Browse files

use the correct docker image

parent 2fec2cd5
No related branches found
No related tags found
1 merge request!20use the correct docker image
Pipeline #45561 passed
......@@ -5,33 +5,33 @@ variables:
import kwant.tests.test_qsymm;
print(os.path.abspath(kwant.tests.test_qsymm.__file__));
image: quantumtinkerer/research
image: gitlab.kwant-project.org:5005/qt/research-docker
## Documentation for the format of this file can be found here:
## https://docs.gitlab.com/ce/ci/yaml/README.html#configuration-of-your-builds-with-gitlab-ci-yml
test minimal requirements:
script:
- conda env create -f environment-minimal.yml
- source activate qsymm-minimal
- py.test qsymm/ --cov=qsymm --verbose --cov-report term
- conda env create -f environment-minimal.yml
- source activate qsymm-minimal
- py.test qsymm/ --cov=qsymm --verbose --cov-report term
stage: test
test latest requirements:
script:
- conda env create -f environment-latest.yml
- source activate qsymm-latest
- py.test qsymm/ --cov=qsymm --verbose --cov-report term
- conda env create -f environment-latest.yml
- source activate qsymm-latest
- py.test qsymm/ --cov=qsymm --verbose --cov-report term
stage: test
test kwant against latest qsymm:
script:
- conda env create -f environment-latest.yml
- source activate qsymm-latest
- conda env create -f environment-latest.yml
- source activate qsymm-latest
# Get bleeding-edge Kwant
- conda install cython
- pip install . # need to install qsymm so that the kwant test can find it
- pip install git+https://gitlab.kwant-project.org/kwant/kwant.git
- export KWANT_QSYMM_PATH=$(python -c "$KWANT_QSYMM_TEST_PATH_SCRIPT")
- py.test $KWANT_QSYMM_PATH
- conda install cython
- pip install . # need to install qsymm so that the kwant test can find it
- pip install git+https://gitlab.kwant-project.org/kwant/kwant.git
- export KWANT_QSYMM_PATH=$(python -c "$KWANT_QSYMM_TEST_PATH_SCRIPT")
- py.test $KWANT_QSYMM_PATH
stage: test
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment