Skip to content

Commit

Permalink
Specify Python version for testing notebooks
Browse files Browse the repository at this point in the history
Set to 3.11. Test was failing because *pymt_child* isn't built for 3.12.
  • Loading branch information
mdpiper committed Dec 11, 2023
1 parent dc5d736 commit 1f263b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,4 @@ jobs:
- name: Test
env:
MPLBACKEND: "Agg"
run: nox -s test-notebooks
run: nox -s test-notebooks --python "3.11"
2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def test(session: nox.Session) -> None:
session.run("pytest", *args)


@nox.session(name="test-notebooks", venv_backend="mamba")
@nox.session(name="test-notebooks", venv_backend="mamba", python="3.11")
def test_notebooks(session: nox.Session) -> None:
"""Run the notebooks."""
args = [
Expand Down

0 comments on commit 1f263b4

Please sign in to comment.