Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Bump actions/upload-pages-artifact from 1 to 2 #112

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
# We use a custom build script for pdoc itself, ideally you just run `pdoc -o docs/ ...` here.
- run: pdoc -o docs/ xmipy

- uses: actions/upload-pages-artifact@v1
- uses: actions/upload-pages-artifact@v2
with:
path: docs/

Expand Down
16 changes: 0 additions & 16 deletions tests/test_mf6_dis_errors.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,3 @@ def test_err_unknown_var(flopy_dis_mf6):
with pytest.raises(XMIError):
var_address = mf6.get_var_address("X", "dissolution")
mf6.get_value_ptr(var_address)


def test_err_cvg_failure(flopy_dis_mf6):
"""Test convergence failure (and a helper for checking I/O)"""
mf6 = flopy_dis_mf6[1]
mf6.initialize()

# prepare, don't solve to completion, should give error
mf6.prepare_time_step(mf6.get_time_step())
mf6.prepare_solve()
mf6.solve()

with pytest.raises(XMIError):
mf6.finalize_solve()

mf6.finalize_time_step()