Skip to content

Commit

Permalink
fix: gh workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
gemygk committed May 24, 2024
1 parent c1158a0 commit a3a905c
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ${{ matrix.os }}
defaults:
run:
shell: bash -l {0}
shell: bash -el {0}
strategy:
matrix:
python-version: [ "3.9", "3.10" ]
Expand Down Expand Up @@ -41,19 +41,21 @@ jobs:
id: cache-miniconda
uses: actions/cache@v2
env:
CACHE_NUMBER: 1
CACHE_NUMBER: 0
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
path: ~/conda_pkgs_dir
key:
${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-${{ hashFiles('./environment.yml') }}
- uses: actions/checkout@v4
- uses: conda-incubator/setup-miniconda@v3
id: setup-miniconda
name: setup-Mambaforge
continue-on-error: true
with:
python-version: "3.10"
mamba-version: "*"
# python-version: "3.9"
pythn-version: ${{ matrix.python-version }}
miniforge-variant: Mambaforge
miniforge-version: latest
# mamba-version: "*"
# channels: conda-forge, defaults
channels: conda-forge, bioconda, defaults, anaconda
channel-priority: true
Expand Down

0 comments on commit a3a905c

Please sign in to comment.