Skip to content

Commit

Permalink
mark test requiring scipy, don't fail fast
Browse files Browse the repository at this point in the history
  • Loading branch information
wpbonelli committed Aug 14, 2023
1 parent e62973a commit 4dcf4a1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ jobs:
env:
PYTHON_VERSION: 3.8
strategy:
fail-fast: true
fail-fast: false
matrix:
optdeps:
- "all optional dependencies"
Expand All @@ -132,6 +132,10 @@ jobs:
pip install --upgrade pip
pip install .
pip install ".[test]"
# Install optional dependencies according to matrix.optdeps.
# If matrix.optdeps is "some" remove 3 optional dependencies
# selected randomly using the current date as the seed.
if [[ ! "${{ matrix.optdeps }}" == *"no"* ]]; then
pip install ".[optional]"
fi
Expand Down
2 changes: 1 addition & 1 deletion autotest/test_mf6.py
Original file line number Diff line number Diff line change
Expand Up @@ -637,7 +637,7 @@ def test_binary_write(function_tmpdir, layered):


@requires_exe("mf6")
@requires_pkg("shapely")
@requires_pkg("shapely", "scipy")
@pytest.mark.parametrize("layered", [True, False])
def test_vor_binary_write(function_tmpdir, layered):
# build voronoi grid
Expand Down

0 comments on commit 4dcf4a1

Please sign in to comment.