-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
32 changed files
with
3,247 additions
and
1,753 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
semicon/_static_version.py export-subst |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -105,3 +105,4 @@ ENV/ | |
# this project | ||
kp_models/cache.json | ||
.pytest_cache | ||
semicon/model_cache.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,36 @@ | ||
image: kwant/testing | ||
|
||
stages: | ||
- build | ||
- test | ||
|
||
build package: | ||
stage: build | ||
test package: | ||
stage: test | ||
script: | ||
- python3 setup.py build | ||
- pip3 install sympy==1.1.1 | ||
- pip3 install -e . | ||
- py.test -r w --cov semicon --cov-report term --flakes semicon | ||
|
||
|
||
test package: | ||
test package with latest scipy: | ||
stage: test | ||
script: | ||
- pip3 install sympy==1.1.1 scipy==1.2.0rc2 | ||
- pip3 install -e . | ||
- py.test -r w --cov semicon --cov-report term --flakes semicon | ||
|
||
|
||
test package with latest SymPy and Kwant stable: | ||
stage: test | ||
script: | ||
- pip3 install sympy | ||
- pip3 install git+https://gitlab.kwant-project.org/kwant/kwant.git@stable | ||
- pip3 install -e . | ||
- py.test -r w --cov semicon --cov-report term --flakes semicon | ||
|
||
test packaging: | ||
stage: test | ||
script: | ||
- pip3 install sympy==1.1.1 | ||
- pip3 install . | ||
- cd / # make sure we don't import the cloned version | ||
- python3 -c 'import semicon; semicon.test()' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
include LICENSE README.md | ||
include semicon/databank/*.yml |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.