-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
epic: export and import fit result (#159)
* ci: add GitHub workflow for epic branches (#144) * ci: increase minimal coverage to 80% * feat: add CSVSummary callback (#173) * feat: add variable logging functionality using TensorFlow (#155) * feat: implement YAML optimize callback (#154) * feat: implement Loadable callback (#177) * feat: log execute time in optimize call (#156 and #164) * fix: copy initial parameters in optimize call (#174) * fix: implement temporary solution for #171 * fix: remove pytest color output VSCode * test: add additional resonance to fixture * refactor: change fit result dict structure * docs: use only 3 free parameters Speeds up CI and prevents memory problems on Read the Docs Co-authored-by: sjaeger <sjaeger@ep1.rub.de> Co-authored-by: spflueger <spfluege@gmail.com>
- Loading branch information
1 parent
06f9d51
commit cd560fa
Showing
33 changed files
with
728 additions
and
149 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,75 @@ | ||
# cspell:ignore CUDA | ||
|
||
name: CI for epics | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- epic/* | ||
|
||
jobs: | ||
pytest: | ||
name: Unit tests | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: | ||
- ubuntu-20.04 | ||
python-version: [3.6, 3.7, 3.8] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install -r reqs/${{ matrix.python-version }}/requirements-test.txt | ||
pip install . | ||
- name: Test with pytest | ||
env: | ||
CUDA_VISIBLE_DEVICES: "-1" | ||
run: pytest -n auto | ||
|
||
documentation: | ||
name: Build documentation | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Python 3.7 | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.7 | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install -r reqs/3.7/requirements-doc.txt | ||
pip install tensorflow-cpu | ||
pip install . | ||
sudo apt-get -y install pandoc | ||
- name: Build documentation | ||
working-directory: docs | ||
env: | ||
CUDA_VISIBLE_DEVICES: "-1" | ||
run: make html | ||
- name: Test doctests in docstrings | ||
working-directory: docs | ||
run: make ignore-warnings=1 doctest | ||
|
||
style: | ||
name: Style checks | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Python 3.7 | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.7 | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install -r reqs/3.7/requirements-sty.txt | ||
pip install . | ||
- name: Perform style checks | ||
run: pre-commit run -a |
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 |
---|---|---|
|
@@ -5,6 +5,7 @@ | |
*.png | ||
*.svg | ||
*.v2 | ||
*.xml | ||
*.yaml | ||
*.yml | ||
|
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
*.csv | ||
*.doctree | ||
*.inv | ||
*build/ | ||
|
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
Oops, something went wrong.