Skip to content

Commit 0485a6d

Browse files
authored
Merge pull request #63 from csdms/mcflugen/use-setup-python-gha
Use setup-python gha instead of miniconda
2 parents b0ef8b6 + eac4f96 commit 0485a6d

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,10 @@ jobs:
2424

2525
steps:
2626
- uses: actions/checkout@v4
27-
- uses: conda-incubator/setup-miniconda@v3
27+
- name: Use Python ${{ matrix.python-version }}
28+
uses: actions/setup-python@v5
2829
with:
2930
python-version: ${{ matrix.python-version }}
30-
miniforge-variant: Mambaforge
31-
miniforge-version: latest
3231

3332
- name: Test
3433
run: |

noxfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def locks(session: nox.Session) -> None:
5656
session.log(f"updated {ROOT / folder / 'requirements.txt'!s}")
5757

5858

59-
@nox.session(name="sync-requirements", python="3.11", venv_backend="conda")
59+
@nox.session(name="sync-requirements")
6060
def sync_requirements(session: nox.Session) -> None:
6161
"""Sync requirements.in with pyproject.toml."""
6262
with open("requirements.in", "w") as fp:

0 commit comments

Comments
 (0)