Skip to content

Commit

Permalink
Merge branch 'notebooks' of github.com:ufs-community/uwtools into not…
Browse files Browse the repository at this point in the history
…ebooks
  • Loading branch information
maddenp-noaa committed Nov 19, 2024
2 parents a8f250c + e7a3bff commit c382d43
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 13 deletions.
7 changes: 0 additions & 7 deletions .github/scripts/test-nb.sh

This file was deleted.

3 changes: 2 additions & 1 deletion .github/scripts/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,12 @@ run_tests() {
devpkgs=$(jq .packages.dev[] recipe/meta.json | tr -d ' "')
conda create --yes --name $env --quiet python=$PYTHON_VERSION $devpkgs
conda activate $env
. notebooks/install-deps
set -x
python --version
git clean -dfx
pip install --editable src # sets new Python version in entry-point scripts
make test
make test && make test-nb
status=$?
set +x
conda deactivate
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,3 @@ jobs:
run: .github/scripts/format-check.sh
- name: Test
run: .github/scripts/test.sh
- name: Test Notebooks
run: .github/scripts/test-nb.sh
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
*.egg-info
*.swp
.coverage
__pycache__
__pycache__
2 changes: 1 addition & 1 deletion notebooks/.gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
.ipynb_checkpoints
tmp
tmp
2 changes: 1 addition & 1 deletion notebooks/install-deps
Original file line number Diff line number Diff line change
@@ -1 +1 @@
conda install -q -y jupyterlab pytest testbook
conda install -q -y --repodata-fn repodata.json "jupyterlab<4.4" "testbook<0.5"

0 comments on commit c382d43

Please sign in to comment.