Skip to content
Snippets Groups Projects
Commit 96c70a84 authored by Joseph Weston's avatar Joseph Weston
Browse files

test kwant against latest qsymm

This is a decent integration test.
Closes #9.
parent 6256f3db
No related branches found
No related tags found
1 merge request!10WIP: test kwant against latest qsymm
Pipeline #24104 passed
variables:
GIT_SUBMODULE_STRATEGY: recursive
KWANT_QSYMM_TEST_PATH_SCRIPT: >
import os;
import kwant.tests.test_qsymm;
print(os.path.abspath(kwant.tests.test_qsymm.__file__));
image: quantumtinkerer/research
......@@ -19,3 +23,15 @@ test latest requirements:
- 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
# 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
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