Skip to content

Commit

Permalink
use micromamba to run python cli
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzocerrone committed Sep 6, 2024
1 parent 571f959 commit 10680ec
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,17 +33,13 @@ jobs:
-c conda-forge python=${{ matrix.python-version }} ilastik
--no-channel-priority
init-shell: >-
bash
cache-environment: true
post-cleanup: 'all'

- name: Install package
run: python -m pip install -e .[dev]
run: micromamba run -n ilastik-tasks python -m pip install -e .[dev]

- name: Regenerate the manifest
run: python src/ilastik_tasks/dev/create_manifest.py
run: micromamba run -n ilastik-tasks python src/ilastik_tasks/dev/create_manifest.py

- name: Check if manifest has changed
run: |
Expand All @@ -55,4 +51,4 @@ jobs:
fi
- name: Test core library with pytest
run: python -m pytest tests
run: micromamba run -n ilastik-tasks python -m pytest tests

0 comments on commit 10680ec

Please sign in to comment.