Skip to content

Commit

Permalink
Merge pull request #30 from Climdyn/bug_fix/miniconda_actions
Browse files Browse the repository at this point in the history
Bugfix: Miniconda action update
  • Loading branch information
jodemaey authored Oct 11, 2024
2 parents a9171a2 + 9c0f51f commit 847caba
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,18 @@ jobs:
fail-fast: false
matrix:
platform: ["ubuntu-latest", "macos-latest", "windows-latest"]
python-version: ["3.8", "3.9", "3.10"]
python-version: ["3.9", "3.10", "3.11"]


name: Python ${{ matrix.python-version }} on ${{ matrix.platform }}
runs-on: ${{ matrix.platform }}


steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Cache conda
uses: actions/cache@v2
uses: actions/cache@v3
env:
# Increase this value to reset cache if etc/example-environment.yml has not changed
CACHE_NUMBER: 0
Expand All @@ -41,10 +41,11 @@ jobs:
${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-${{
hashFiles('environment.yml') }}

- uses: conda-incubator/setup-miniconda@v2
- uses: conda-incubator/setup-miniconda@v3
with:
python-version: ${{ matrix.python-version }}
mamba-version: "*"
miniforge-version: latest
use-mamba: true
activate-environment: qgs
environment-file: environment.yml
auto-activate-base: false
Expand Down
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ channels:
- numba
- defaults
dependencies:
- python>=3.8
- python>=3.9
- ipython
- jupyter
- matplotlib>=3.4
Expand Down

0 comments on commit 847caba

Please sign in to comment.