Skip to content

Commit

Permalink
Try setting up conda on MacOS
Browse files Browse the repository at this point in the history
  • Loading branch information
michalk8 committed Sep 15, 2024
1 parent c56adcc commit 2cf1f5c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ jobs:
python-version: '3.10'

- name: Cache pre-commit
uses: actions/cache@v4
if: ${{ matrix.lint-kind == 'code' }}
uses: actions/cache@v4
with:
path: ~/.cache/pre-commit
key: pre-commit-${{ env.pythonLocation }}-${{ hashFiles('**/.pre-commit-config.yaml') }}
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@ jobs:
python -m pip install --upgrade pip
python -m pip install tox
- name: Setup Conda
if: matrix.os == 'macOS'
uses: conda-incubator/setup-miniconda@v3
with:
auto-update-conda: true

- name: Test
run: |
tox -e py${{ matrix.python }}-${{ matrix.slepc }} -vv
Expand Down

0 comments on commit 2cf1f5c

Please sign in to comment.