-
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 #6 from QEF/develop
Release v1.0.0
- Loading branch information
Showing
365 changed files
with
76,886 additions
and
97,135 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,53 @@ | ||
name: postqe | ||
|
||
on: | ||
push: | ||
branches: [master, develop] | ||
pull_request: | ||
branches: [master, develop] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-latest] | ||
python-version: ["3.11"] | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v3 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install pip, setuptools and wheel | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install setuptools | ||
pip install wheel | ||
- name: Lint with flake8 | ||
run: | | ||
pip install flake8 | ||
flake8 src/postqe --max-line-length=120 --statistics | ||
- name: Download Quantum ESPRESSO 7.2 | ||
run: | | ||
curl -LJO https://github.com/QEF/q-e/archive/refs/tags/qe-7.2.zip | ||
sha256sum q-e-qe-7.2.zip | grep 1938b5c998e1485564b54b6eb27db31b2686ca8d8cb71a50afc50fe6adef07fc | ||
- name: Unzip Quantum ESPRESSO 7.2 | ||
run: | | ||
unzip -q q-e-qe-7.2.zip | ||
rm q-e-qe-7.2.zip | ||
- name: Install lapack and fftw3 libs | ||
run: | | ||
sudo apt-get update -y | ||
sudo apt install liblapack-dev libfftw3-dev | ||
- name: Install postqe | ||
run: | | ||
export QE_TOPDIR=`realpath q-e-qe-7.2` | ||
pip install . | ||
- name: Test with unittest | ||
run: | | ||
python -m unittest | ||
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 |
---|---|---|
@@ -1,9 +1,17 @@ | ||
include MANIFEST.in | ||
include LICENSE | ||
include MANIFEST.in | ||
include README.rst | ||
include postqe *.py | ||
include postqe/ase *.py | ||
include postqe *.so | ||
include postqe/fortran *.f90 | ||
include setup.py | ||
include pyproject.toml | ||
include requirements.txt | ||
include requirements-dev.txt | ||
include tox.ini | ||
include doc/* | ||
include src/postqe/*.py | ||
include src/postqe/fortran/* | ||
include src/postqe/fortran/wrapfiles/*.f90 | ||
recursive-include tests * | ||
recursive-include examples * | ||
|
||
exclude src/postqe/pyqe.py | ||
global-exclude *.py[cod] |
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
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.