forked from wannier-developers/wannier90
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into tbh-option
- Loading branch information
Showing
14 changed files
with
80 additions
and
99 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
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,61 @@ | ||
name: CI | ||
|
||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- develop | ||
- master | ||
- gh-actions | ||
|
||
jobs: | ||
pre-commit: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-python@v2 | ||
- uses: pre-commit/[email protected] | ||
|
||
build: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
w90-binary-parallel: [ 'false', 'true' ] | ||
name: Build and test `parallel=${{ matrix.w90-binary-parallel }}` | ||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v2 | ||
- name: setup python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.6 | ||
- name: install dependencies | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install \ | ||
gfortran \ | ||
libblas-dev \ | ||
liblapack-dev \ | ||
openmpi-bin \ | ||
libopenmpi-dev | ||
pip install --upgrade pip | ||
pip install \ | ||
numpy \ | ||
matplotlib \ | ||
- name: build | ||
env: | ||
W90BINARYPARALLEL: ${{ matrix.w90-binary-parallel }} | ||
run: | | ||
if [ "$W90BINARYPARALLEL" == "true" ] ; then | ||
cp ./.github/workflows/config/make.inc.gfort+openmpi ./make.inc | ||
else | ||
cp ./.github/workflows/config/make.inc.gfort ./make.inc | ||
fi | ||
make -j default w90chk2chk libs | ||
- name: run tests | ||
env: | ||
W90BINARYPARALLEL: ${{ matrix.w90-binary-parallel }} | ||
run: | | ||
./.github/workflows/run_tests.sh | ||
- name: compute coverage | ||
uses: codecov/codecov-action@v1 |
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 was deleted.
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
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 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.