forked from ioos/ioos_code_lab
-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (31 loc) · 931 Bytes
/
test-env.yml
File metadata and controls
37 lines (31 loc) · 931 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Test Environment
# no permissions by default
permissions: {}
on:
pull_request:
jobs:
run:
runs-on: ${{ matrix.os }}
strategy:
matrix:
# macos-latest is osx-arm64 and the env is not building there yet b/c of robis.
os: [ macos-15-intel, ubuntu-latest, windows-latest ]
fail-fast: false
defaults:
run:
shell: bash -l {0}
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0
persist-credentials: false
- name: Setup Micromamba
uses: mamba-org/setup-micromamba@add3a49764cedee8ee24e82dfde87f5bc2914462 # v2.0.7
with:
environment-name: IOOS
init-shell: bash
create-args: >-
--file .binder/conda-lock.yml
- name: Test environment
run: >
python -c 'import osgeo.gdal; print(dir(osgeo.gdal))'