Skip to content

Commit

Permalink
Merge pull request #149 from mcflugen/mcflugen/update-setup-miniconda…
Browse files Browse the repository at this point in the history
…-action

Update setup miniconda action
  • Loading branch information
mcflugen authored Jan 9, 2025
2 parents 4a1e9ac + 045de09 commit 9bc3de6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,10 @@ jobs:
- uses: actions/checkout@v4
- uses: conda-incubator/setup-miniconda@v3
with:
python-version: "${{ matrix.python-version }}"
miniforge-variant: Mambaforge
python-version: ${{ matrix.python-version }}
miniforge-variant: Miniforge3
miniforge-version: latest
auto-update-conda: true

- name: Install nox
run: pip install nox
Expand All @@ -51,8 +52,9 @@ jobs:
- uses: conda-incubator/setup-miniconda@v3
with:
python-version: "3.11"
miniforge-variant: Mambaforge
miniforge-variant: Miniforge3
miniforge-version: latest
auto-update-conda: true

- name: Install nox
run: pip install nox
Expand Down
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", python="3.11")
@nox.session(name="test-notebooks", venv_backend="conda", python="3.11")
def test_notebooks(session: nox.Session) -> None:
"""Run the notebooks."""
args = [
Expand Down

0 comments on commit 9bc3de6

Please sign in to comment.