Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Q
qsymm
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
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
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
Quantum Tinkerer
qsymm
Commits
337478ce
Commit
337478ce
authored
4 years ago
by
Anastasiia Varentcova
Browse files
Options
Downloads
Patches
Plain Diff
use the correct docker image
parent
2fec2cd5
No related branches found
No related tags found
1 merge request
!20
use the correct docker image
Pipeline
#45561
passed
4 years ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+14
-14
14 additions, 14 deletions
.gitlab-ci.yml
with
14 additions
and
14 deletions
.gitlab-ci.yml
+
14
−
14
View file @
337478ce
...
...
@@ -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
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