Skip to content

Commit

Permalink
Fix absence of advection in example (#150)
Browse files Browse the repository at this point in the history
* Fix absence of advection in example

* Invoke pytest using python -m pytest

* Increase verbosity of pytest

* Limit github actions to Python 3.10 and 3.11
  • Loading branch information
jimc101 authored Jun 21, 2024
1 parent 6333d9d commit 5fb334d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pylag-package-conda-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
matrix:
os: ["ubuntu-latest"]
python-version: ["3.9", "3.10", "3.11"]
python-version: ["3.10", "3.11"]
steps:
- uses: actions/checkout@v2
- uses: conda-incubator/setup-miniconda@v2
Expand Down Expand Up @@ -41,4 +41,4 @@ jobs:
shell: bash -l {0}
run: |
conda install pytest
pytest
python -m pytest -v
4 changes: 4 additions & 0 deletions doc/source/examples/lateral_adv_diff_analytic.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1465,6 +1465,10 @@
"config.set(\"SIMULATION\", \"depth_restoring\", \"False\")\n",
"config.set(\"SIMULATION\", \"fixed_depth\", \"0.0\")\n",
"\n",
"# Specify the source of ocean current data which ensures data will be read\n",
"config.add_section(\"OCEAN_DATA\")\n",
"config.set(\"OCEAN_DATA\", \"name\", \"mock\")\n",
"\n",
"# The data reader\n",
"data_reader = MockVelocityEddyDiffusivityDataReader()\n",
"\n",
Expand Down

0 comments on commit 5fb334d

Please sign in to comment.