Skip to content

Commit

Permalink
Merge pull request #85 from KVSlab/config-mamba-ci
Browse files Browse the repository at this point in the history
Update CI with micromamba
  • Loading branch information
hkjeldsberg authored Sep 26, 2024
2 parents 645961e + b6265d7 commit aeeaa5b
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/lint_and_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
- cron: '0 8 * * *'

env:
CACHE_NUMBER: 1 # Increase to reset cache
CACHE_NUMBER: 2 # Increase to reset cache

jobs:
check-code:
Expand Down Expand Up @@ -57,14 +57,11 @@ jobs:

steps:
- uses: actions/checkout@v4
- uses: conda-incubator/setup-miniconda@v3
- uses: mamba-org/setup-micromamba@v1
with:
mamba-version: '*'
channels: conda-forge,vmtk
channel-priority: flexible
activate-environment: morphman-env
environment-file: environment.yml
python-version: '3.10'
init-shell: bash
cache-environment: true

- uses: actions/cache@v3
with:
Expand All @@ -78,7 +75,6 @@ jobs:
- name: Run tests
run: |
mamba install libitk==5.3
python -m pytest tests
- name: Upload coverage report to Codecov
Expand Down

0 comments on commit aeeaa5b

Please sign in to comment.