Skip to content

Commit

Permalink
Switch to micromamba
Browse files Browse the repository at this point in the history
  • Loading branch information
remiolsen committed Nov 2, 2023
1 parent 01bfcf5 commit 87d632b
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/anglerfish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,36 +7,33 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.9.18, 3.10.2]
python-version: [3.10.2]

steps:
# Checkout code and install miniconda + environment
- uses: actions/checkout@v4
- uses: conda-incubator/setup-miniconda@v2
- uses: mamba-org/setup-micromamba@v1
with:
activate-environment: anglerfish
init-shell: bash
create-args: >-
python=${{ matrix.python-version }}
pip
environment-file: environment.yml
python-version: ${{ matrix.python-version }}
auto-update-conda: true
auto-activate-base: false

# Install Anglerfish
- shell: bash -l {0}
name: Install Anglerfish
run: |
conda activate anglerfish
python -m pip install .
# Run anglerfish --help
- shell: bash -l {0}
name: Test anglerfish
run: |
conda activate anglerfish
anglerfish --help
# Run anglerfish using test data
- shell: bash -l {0}
name: Run anglerfish with test data
run: |
conda activate anglerfish
anglerfish -s test/samples.csv

0 comments on commit 87d632b

Please sign in to comment.