Skip to content

Commit

Permalink
Update python-package-conda.yml
Browse files Browse the repository at this point in the history
Switch to mamba to solve package issues
  • Loading branch information
PhilipMathieu authored Apr 1, 2024
1 parent e1d2259 commit 2227435
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/python-package-conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,10 @@ jobs:
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Add conda to system path
run: |
# $CONDA is an environment variable pointing to the root of the miniconda directory
echo $CONDA/bin >> $GITHUB_PATH
- name: Install dependencies
run: |
conda env update --file environment.yml --name base
- uses: mamba-org/setup-micromamba@v1
with:
environment-file: environment.yml
init-shell: bash
- name: Lint with flake8
run: |
conda install flake8
Expand Down

0 comments on commit 2227435

Please sign in to comment.