-
Notifications
You must be signed in to change notification settings - Fork 13
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 #36 from lsmo-epfl/release_1.0.0b2
Prepare release 1.0.0b2
- Loading branch information
Showing
134 changed files
with
78,401 additions
and
95 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,85 @@ | ||
name: ci | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
|
||
tests: | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 30 | ||
strategy: | ||
matrix: | ||
python-version: [3.7] | ||
backend: ['django'] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v1 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- name: Install system dependencies | ||
run: | | ||
wget -O - "https://github.com/rabbitmq/signing-keys/releases/download/2.0/rabbitmq-release-signing-key.asc" | sudo apt-key add - | ||
echo 'deb https://dl.bintray.com/rabbitmq-erlang/debian bionic erlang' | sudo tee -a /etc/apt/sources.list.d/bintray.rabbitmq.list | ||
echo 'deb https://dl.bintray.com/rabbitmq/debian bionic main' | sudo tee -a /etc/apt/sources.list.d/bintray.rabbitmq.list | ||
sudo rm -f /etc/apt/sources.list.d/dotnetdev.list /etc/apt/sources.list.d/microsoft-prod.list | ||
sudo apt update | ||
sudo apt install postgresql-10 rabbitmq-server graphviz | ||
sudo systemctl status rabbitmq-server.service | ||
- name: Install python dependencies | ||
run: | | ||
pip install --upgrade pip | ||
pip install -e .[testing] | ||
reentry scan -r aiida | ||
- name: Run test suite | ||
env: | ||
AIIDA_TEST_BACKEND: ${{ matrix.backend }} | ||
PYTEST_ADDOPTS: "--cov-report xml --cov-append" | ||
run: py.test tests | ||
|
||
- name: Upload coverage report | ||
if: github.repository == 'lsmo-epfl/aiida-lsmo' | ||
uses: codecov/codecov-action@v1 | ||
with: | ||
name: aiida-lsmo | ||
file: ./coverage.xml | ||
fail_ci_if_error: true | ||
|
||
docs: | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 15 | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Set up Python 3.7 | ||
uses: actions/setup-python@v1 | ||
with: | ||
python-version: 3.7 | ||
- name: Install python dependencies | ||
run: | | ||
pip install --upgrade pip | ||
pip install -e .[docs] | ||
reentry scan -r aiida | ||
- name: Build docs | ||
run: cd docs && make | ||
|
||
pre-commit: | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 15 | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Set up Python 3.7 | ||
uses: actions/setup-python@v1 | ||
with: | ||
python-version: 3.7 | ||
- name: Install python dependencies | ||
run: | | ||
pip install --upgrade pip | ||
pip install -e .[pre-commit,docs,testing] | ||
reentry scan -r aiida | ||
- name: Run pre-commit | ||
run: | | ||
pre-commit install | ||
pre-commit run --all-files || ( git status --short ; git diff ; exit 1 ) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
include setup.json | ||
include aiida_lsmo/calcfunctions/*.yaml | ||
include aiida_lsmo/workchains/isotherm_data/* | ||
include aiida_lsmo/workchains/cp2k_multistage_protocols/*.yaml |
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 |
---|---|---|
|
@@ -4,4 +4,4 @@ | |
AiiDA workflows for the LSMO laboratory at EPFL | ||
""" | ||
|
||
__version__ = "1.0.0b1" | ||
__version__ = "1.0.0b2" |
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,9 @@ | ||
[coverage:run] | ||
parallel=true | ||
|
||
[tool:pytest] | ||
addopts = --durations=0 --cov=aiida_lsmo | ||
filterwarnings = | ||
ignore::DeprecationWarning:frozendict: | ||
ignore::DeprecationWarning:sqlalchemy_utils: | ||
ignore::DeprecationWarning:reentry: |
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,6 +1,6 @@ | ||
{ | ||
"name": "aiida-lsmo", | ||
"version": "1.0.0b1", | ||
"version": "1.0.0b2", | ||
"author": "Aliaksandr Yakutovich, Daniele Ongari, Leopold Talirz", | ||
"author_email": "[email protected]", | ||
"description": "AiiDA workflows for the LSMO laboratory at EPFL", | ||
|
@@ -10,8 +10,7 @@ | |
"Programming Language :: Python :: 3.6", | ||
"Programming Language :: Python :: 3.7" | ||
], | ||
"setup_requires": ["reentry"], | ||
"reentry_register": true, | ||
"include_package_data": true, | ||
"install_requires": [ | ||
"aiida-core >= 1.0.0", | ||
"aiida-cp2k >= 1.0.0b6", | ||
|
@@ -51,7 +50,9 @@ | |
], | ||
"extras_require": { | ||
"testing": [ | ||
"pytest==4.4.1" | ||
"pgtest~=1.3.1", | ||
"aiida-testing @ git+https://github.com/ltalirz/aiida-testing@fix-args#egg=aiida-testing", | ||
"pytest-cov~=2.6" | ||
], | ||
"pre-commit": [ | ||
"pre-commit==1.17.0", | ||
|
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,5 @@ | ||
"""Tests for aiida-lsmo.""" | ||
import os | ||
|
||
THIS_DIR = os.path.dirname(os.path.abspath(__file__)) | ||
DATA_DIR = os.path.join(THIS_DIR, 'data') |
File renamed without changes.
Oops, something went wrong.