Skip to content

Commit

Permalink
unify env tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ocefpaf committed May 26, 2022
1 parent 91da7e9 commit f6ea620
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 69 deletions.
23 changes: 0 additions & 23 deletions .github/workflows/test-env-linux.yml

This file was deleted.

23 changes: 0 additions & 23 deletions .github/workflows/test-env-macOS.yml

This file was deleted.

23 changes: 0 additions & 23 deletions .github/workflows/test-env-win.yml

This file was deleted.

32 changes: 32 additions & 0 deletions .github/workflows/test-env.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Test Environment

on:
pull_request:

jobs:
run:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
include:
- os: macos-latest
lockfile: conda-osx-64.lock
- os: ubuntu-latest
lockfile: conda-linux-64.lock
- os: windows-latest
lockfile: conda-win-64.lock
fail-fast: false

steps:
- uses: actions/checkout@v3
- name: Setup Micromamba
uses: mamba-org/provision-with-micromamba@main
with:
environment-file: false
- name: Build environment
shell: bash -l {0}
run: |
micromamba create --name IOOS --file .binder/${{ matrix.lockfile }}
micromamba activate IOOS
python -c 'import osgeo.gdal; print(dir(osgeo.gdal))'

0 comments on commit f6ea620

Please sign in to comment.