Skip to content

Commit

Permalink
Merge branch 'dev' into hyperviscous-kdv
Browse files Browse the repository at this point in the history
  • Loading branch information
Ceyron committed Sep 5, 2024
2 parents 4f5e085 + 1b2f310 commit ecce3ec
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
run-test:
strategy:
matrix:
python-version: [ 3.10, 3.11, 3.12 ]
python-version: [ "3.10", "3.11", "3.12" ]
os: [ ubuntu-latest ]
fail-fast: false
runs-on: ${{ matrix.os }}
Expand Down
10 changes: 6 additions & 4 deletions tests/test_viz.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,10 @@ def test_plot_state_2d():
plt.close(fig)


def test_plot_state_3d():
state = jax.random.normal(jax.random.PRNGKey(0), (1, 32, 32, 32))
# # Requires a GPU and therefore cannot easily be tested on GitHub Actions

fig = ex.viz.plot_state_3d(state)
plt.close(fig)
# def test_plot_state_3d():
# state = jax.random.normal(jax.random.PRNGKey(0), (1, 32, 32, 32))

# fig = ex.viz.plot_state_3d(state)
# plt.close(fig)

0 comments on commit ecce3ec

Please sign in to comment.