Skip to content

Commit

Permalink
Bump actions/upload-pages-artifact from 1 to 2 (#112)
Browse files Browse the repository at this point in the history
* Bump actions/upload-pages-artifact from 1 to 2

Bumps [actions/upload-pages-artifact](https://github.com/actions/upload-pages-artifact) from 1 to 2.
- [Release notes](https://github.com/actions/upload-pages-artifact/releases)
- [Commits](actions/upload-pages-artifact@v1...v2)

---
updated-dependencies:
- dependency-name: actions/upload-pages-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Remove convergence failure test

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Hofer-Julian <30049909+Hofer-Julian@users.noreply.github.com>
  • Loading branch information
dependabot[bot] and Hofer-Julian committed Jul 11, 2023
1 parent 7d0a2a7 commit bff6ccc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 17 deletions.
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()

0 comments on commit bff6ccc

Please sign in to comment.