Skip to content

Commit

Permalink
Fix CI test running on macOS (#1143)
Browse files Browse the repository at this point in the history
  • Loading branch information
ianthomas23 authored Nov 3, 2022
1 parent 4b80d52 commit cf77868
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,21 @@ jobs:
eval "$(conda shell.bash hook)"
conda create -n test-environment python=${{ matrix.python-version }} pyctdev "typing_extensions<4.2.0"
- name: doit develop_install
if: matrix.os != 'macos-latest'
run: |
eval "$(conda shell.bash hook)"
conda activate test-environment
doit develop_install -o tests -o examples --conda-mode=mamba
# Temporarily hacked step as on MacOS doit develop_install updates CPython leading to pyctdev failure
- name: doit develop_install
if: matrix.os == 'macos-latest'
run: |
conda activate test-environment
conda list
doit develop_install -o tests -o examples --conda-mode=mamba || echo "Keep going"
pip install --no-deps --no-build-isolation -e .
git describe
pip list
- name: patch for fiona on mac and windows / 3.7
if: (matrix.os == 'windows-latest' || matrix.os == 'macos-latest') && matrix.python-version == '3.7'
run: |
Expand Down

0 comments on commit cf77868

Please sign in to comment.