Skip to content

Commit

Permalink
Merge pull request #52 from stefmolin/stefmolin-patch-1
Browse files Browse the repository at this point in the history
Update env-checks.yml for runner changes and updates to actions
  • Loading branch information
stefmolin authored Jan 23, 2025
2 parents 5a7b28a + 67c4e4d commit 5a0c82d
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/env-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,15 @@ jobs:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
python-version: ["3.7", "3.8", "3.9"]
exclude:
# macOS arm runners don't have native build for 3.7
- os: macos-latest
python-version: "3.7"

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

# remove the Python version from the file for testing
- name: strip hardcoded Python version from environment for testing
Expand All @@ -59,12 +63,11 @@ jobs:
fi;
# create the conda env
- uses: conda-incubator/setup-miniconda@v2
- uses: conda-incubator/setup-miniconda@a4260408e20b96e80095f42ff7f1a15b27dd94ca # v3.0.4
with:
python-version: ${{ matrix.python-version }}
auto-update-conda: true
miniforge-variant: Mambaforge
use-mamba: true
channels: conda-forge
channel-priority: true
activate-environment: book_env
environment-file: environment.yml
Expand Down

0 comments on commit 5a0c82d

Please sign in to comment.