Skip to content

Commit

Permalink
:octocat: sort out CI
Browse files Browse the repository at this point in the history
  • Loading branch information
cemachelen committed Jul 7, 2022
1 parent 7711c82 commit d288dbb
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 39 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/python-package-conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macOS-latest]
os: [ubuntu-latest, macOS-latest, windows-latest]
python-version: [3.7]
steps:
- uses: actions/checkout@v2
Expand All @@ -17,8 +17,8 @@ jobs:
- name: install mamba
uses: mamba-org/provision-with-micromamba@main
with:
environment-file: CNN.yml
environment-name: CNN
environment-file: PINN.yml
environment-name: PINN
- name: Install test packages
shell: bash -l {0}
run: |
Expand All @@ -30,4 +30,4 @@ jobs:
- name: Test with pytest
shell: bash -l {0}
run: |
pytest .github/workflows/test_CNN_notebooks.py
pytest .github/workflows/test_notebooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def _find_notebooks():
)

# Get just the notebooks from the git files
notebooks_files = [Path(fn) for fn in git_files if fn.endswith("CNN_Volcanic_deformation_test.ipynb")]
notebooks_files = [Path(fn) for fn in git_files if fn.endswith("PINNs_1DHeatEquationExample.ipynb")]

# remove all notebooks that haven't been checked
notebooks_files = [p for p in notebooks_files if p.parent.name != "unchecked"]
Expand Down
33 changes: 0 additions & 33 deletions .github/workflows/windows_python_package.yml

This file was deleted.

2 changes: 1 addition & 1 deletion PINN.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: PINN2
name: PINN
channels:
- conda-forge
- defaults
Expand Down
14 changes: 14 additions & 0 deletions binder/environment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: PINN
channels:
- conda-forge
- defaults
dependencies:
- python
- notebook
- matplotlib
- scipy
- pandas
- pip
- pip:
- pyDOE
- tensorflow>2.1

0 comments on commit d288dbb

Please sign in to comment.