-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #199 from JuDFTteam/release-0.12
🚀 Release `0.12`
- Loading branch information
Showing
220 changed files
with
114,657 additions
and
511 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 |
---|---|---|
|
@@ -31,13 +31,13 @@ jobs: | |
- uses: actions/checkout@v3 | ||
|
||
- name: Set up Python 3.10 | ||
uses: actions/setup-python@v4.0.0 | ||
uses: actions/setup-python@v4.2.0 | ||
with: | ||
python-version: '3.10' | ||
|
||
- name: Cache python dependencies | ||
id: cache-pip | ||
uses: actions/[email protected].4 | ||
uses: actions/[email protected].6 | ||
with: | ||
path: ~/.cache/pip | ||
key: pip-docs-${{ hashFiles('**/pyproject.toml') }} | ||
|
@@ -82,15 +82,15 @@ jobs: | |
|
||
- name: Cache python dependencies | ||
id: cache-pip | ||
uses: actions/[email protected].4 | ||
uses: actions/[email protected].6 | ||
with: | ||
path: ~/.cache/pip | ||
key: pip-pre-commit-${{ hashFiles('**/pyproject.toml') }} | ||
restore-keys: | | ||
pip-pre-commit- | ||
- name: Set up Python 3.8 | ||
uses: actions/setup-python@v4.0.0 | ||
uses: actions/setup-python@v4.2.0 | ||
with: | ||
python-version: 3.8 | ||
|
||
|
@@ -110,8 +110,13 @@ jobs: | |
|
||
strategy: | ||
matrix: | ||
python-version: ['3.10','3.9', '3.8', '3.7'] | ||
python-version: ['3.10','3.9', '3.8'] | ||
experimental: [false] | ||
pytest-cmdline: [''] | ||
include: | ||
- python-version: '3.7' | ||
experimental: false | ||
pytest-cmdline: '-o addopts="--cov=masci_tools --cov=tests --cov-report xml"' | ||
# include: | ||
# - python-version: '3.11-dev' | ||
# experimental: true | ||
|
@@ -125,15 +130,15 @@ jobs: | |
|
||
- name: Cache python dependencies | ||
id: cache-pip | ||
uses: actions/[email protected].4 | ||
uses: actions/[email protected].6 | ||
with: | ||
path: ~/.cache/pip | ||
key: pip-${{ matrix.python-version }}-tests-${{ hashFiles('**/pyproject.toml') }} | ||
restore-keys: | | ||
pip-${{ matrix.python-version }}-tests | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v4.0.0 | ||
uses: actions/setup-python@v4.2.0 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
|
@@ -144,7 +149,7 @@ jobs: | |
pip install pyhull | ||
- name: Run pytest | ||
run: pytest | ||
run: pytest ${{ matrix.pytest-cmdline }} | ||
|
||
- name: Upload code coverage report | ||
run: | | ||
|
@@ -165,7 +170,7 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up Python 3.7 | ||
uses: actions/setup-python@v4.0.0 | ||
uses: actions/setup-python@v4.2.0 | ||
with: | ||
python-version: 3.7 | ||
- name: Install flit | ||
|
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 |
---|---|---|
|
@@ -25,13 +25,13 @@ jobs: | |
- uses: actions/checkout@v3 | ||
|
||
- name: Set up Python 3.10 | ||
uses: actions/setup-python@v4.0.0 | ||
uses: actions/setup-python@v4.2.0 | ||
with: | ||
python-version: '3.10' | ||
|
||
- name: Cache python dependencies | ||
id: cache-pip | ||
uses: actions/[email protected].4 | ||
uses: actions/[email protected].6 | ||
with: | ||
path: ~/.cache/pip | ||
key: pip-docs-${{ hashFiles('**/pyproject.toml') }} | ||
|
@@ -76,15 +76,15 @@ jobs: | |
|
||
- name: Cache python dependencies | ||
id: cache-pip | ||
uses: actions/[email protected].4 | ||
uses: actions/[email protected].6 | ||
with: | ||
path: ~/.cache/pip | ||
key: pip-pre-commit-${{ hashFiles('**/pyproject.toml') }} | ||
restore-keys: | | ||
pip-pre-commit- | ||
- name: Set up Python 3.8 | ||
uses: actions/setup-python@v4.0.0 | ||
uses: actions/setup-python@v4.2.0 | ||
with: | ||
python-version: 3.8 | ||
|
||
|
@@ -105,9 +105,13 @@ jobs: | |
|
||
strategy: | ||
matrix: | ||
python-version: ['3.10','3.9', '3.8', '3.7'] | ||
python-version: ['3.10','3.9', '3.8'] | ||
experimental: [false] | ||
# include: | ||
pytest-cmdline: [""] | ||
include: | ||
- python-version: '3.7' | ||
experimental: false | ||
pytest-cmdline: '-o addopts="--cov=masci_tools --cov=tests --cov-report xml"' | ||
# - python-version: '3.11-dev' | ||
# experimental: true | ||
fail-fast: false | ||
|
@@ -120,15 +124,15 @@ jobs: | |
|
||
- name: Cache python dependencies | ||
id: cache-pip | ||
uses: actions/[email protected].4 | ||
uses: actions/[email protected].6 | ||
with: | ||
path: ~/.cache/pip | ||
key: pip-${{ matrix.python-version }}-tests-${{ hashFiles('**/pyproject.toml') }} | ||
restore-keys: | | ||
pip-${{ matrix.python-version }}-tests | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v4.0.0 | ||
uses: actions/setup-python@v4.2.0 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
|
@@ -147,7 +151,7 @@ jobs: | |
pip install pyhull | ||
- name: Run pytest | ||
run: pytest | ||
run: pytest ${{ matrix.pytest-cmdline }} | ||
|
||
- name: Upload code coverage report | ||
run: | | ||
|
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
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
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
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
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
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
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,29 @@ | ||
(devguidetests)= | ||
|
||
|
||
# Test suite of masci-tools | ||
|
||
## Installation | ||
|
||
Install the package with the `testing` extra: | ||
|
||
```bash | ||
pip install -e .[testing] | ||
``` | ||
|
||
## Running the tests | ||
|
||
Run `pytest` in the `tests` path of masci-tools: | ||
```bash | ||
cd tests | ||
pytest . | ||
``` | ||
|
||
## Regenerating test files | ||
|
||
With some code changes an update of the reference files for the tests is required. This can be done with the `--force-regen` option: | ||
|
||
|
||
```bash | ||
pytest --force-regen . | ||
``` |
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,47 @@ | ||
RUNOPT | ||
qdos | ||
ALATBASIS= 4.823819747883 | ||
BRAVAIS | ||
0.000000000000 0.707106781187 0.707106781187 | ||
0.707106781187 0.000000000000 0.707106781187 | ||
0.707106781187 0.707106781187 0.000000000000 | ||
NAEZ= 1 | ||
CARTESIAN= True | ||
|
||
<RBASIS> | ||
0.000000000000 0.000000000000 0.000000000000 | ||
|
||
KSHAPE= 2 | ||
<SHAPE> | ||
1 | ||
|
||
NSPIN= 1 | ||
<ZATOM> | ||
29.000000000000 | ||
|
||
LINIPOL= False | ||
HFIELD= 0.000000000000 | ||
LMAX= 2 | ||
BZDIVIDE= 1 1 1 | ||
|
||
EMIN= -0.092276291413 | ||
EMAX= 1.010203373856 | ||
TEMPR= 50.000000000000 | ||
NPT1= 0 | ||
NPT2= 96 | ||
NPT3= 0 | ||
NPOL= 0 | ||
RCLUSTZ= 2.236067977500 | ||
INS= 1 | ||
RMAX= 10.000000000000 | ||
GMAX= 100.000000000000 | ||
|
||
NSTEPS= 50 | ||
IMIX= 5 | ||
STRMIX= 0.030000000000 | ||
BRYMIX= 0.050000000000 | ||
QBOUND= 1.000000e-08 | ||
|
||
IEMXD= 96 | ||
KPOIBZ= 1 | ||
<USE_SEMI_CIRCLE_CONTOUR>= False |
Oops, something went wrong.