Skip to content

Commit

Permalink
force bash across OS (#266)
Browse files Browse the repository at this point in the history
  • Loading branch information
martinfleis authored Aug 25, 2023
1 parent 165c604 commit e173af0
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@
- environment-file: ci/311.yaml
os: windows-latest
fail-fast: false
defaults:
run:
shell: bash -l {0}

steps:
- name: checkout repo
Expand All @@ -61,34 +64,22 @@
environment-file: ${{ matrix.environment-file }}

- name: install bleeding edge libpysal (Ubuntu / Python 3.10)
shell: bash -l {0}
run: |
pip install git+https://github.com/pysal/libpysal.git@main
if: matrix.os == 'ubuntu-latest' && contains(matrix.environment-file, 'DEV')

- name: environment info
shell: bash -l {0}
run: |
micromamba info
micromamba list
- name: spatial versions
shell: bash -l {0}
run: 'python -c "import geopandas; geopandas.show_versions();"'

- name: run tests - bash
shell: bash -l {0}
run: |
${{ env.FETCH_DATA }}
${{ env.RUN_TEST }}
if: matrix.os != 'windows-latest'

- name: run tests - powershell
shell: powershell
run: |
${{ env.FETCH_DATA }}
${{ env.RUN_TEST }}
if: matrix.os == 'windows-latest'
- name: ${{ matrix.os }}, ${{ matrix.environment-file }}
uses: codecov/codecov-action@v3
Expand Down

0 comments on commit e173af0

Please sign in to comment.