Skip to content

Commit

Permalink
Fix GitHub actions (#638)
Browse files Browse the repository at this point in the history
* Raised conda-incubator to version 3 👘

* Added channels to look for mamba 🎃

* Removed commercial anaconda channel default 🎳

* Not importing from channel default 🕔

* Need to set it in quotes (?) 👧

* Updates checkout action to latest version 🔨

* Updated workflows to support setup-miniconda version 3 🚉

* Tweaking parameters 🆙
  • Loading branch information
anawas authored Dec 20, 2024
1 parent 1da8116 commit f2380be
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 7 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Install Conda
uses: conda-incubator/setup-miniconda@v2
uses: conda-incubator/setup-miniconda@v3
with:
miniforge-variant: Mambaforge
mamba-version: "*"
channels: conda-forge
channel-priority: "true"
conda-remove-defaults: "true"
- name: Create Environment
shell: bash -l {0}
run: |
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/test-user-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Install Conda
uses: conda-incubator/setup-miniconda@v2
uses: conda-incubator/setup-miniconda@v3
with:
mamba-version: "*"
channels: conda-forge
channel-priority: "true"
conda-remove-defaults: "true"
- name: Set variables, Install Package & Dependencies
shell: bash -l {0}
run: |
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Install Conda
uses: conda-incubator/setup-miniconda@v2
uses: conda-incubator/setup-miniconda@v3
with:
miniforge-variant: Mambaforge
mamba-version: "*"
channels: conda-forge
channel-priority: "true"
conda-remove-defaults: "true"
- name: Install Deps
shell: bash -el {0}
run: |
Expand Down

0 comments on commit f2380be

Please sign in to comment.