-
Notifications
You must be signed in to change notification settings - Fork 5
42 lines (36 loc) · 1023 Bytes
/
test-conda.yaml
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
38
39
40
41
42
name: Conda
# Run on PR requests. And on master itself.
on:
push:
branches:
- master
pull_request:
jobs:
TestConda:
name: Python ${{ matrix.python }} ${{ matrix.display_name }} (${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-12, windows-latest]
python: ["3.9", "3.12"]
steps:
- uses: actions/checkout@v2
- name: Setup Conda
uses: s-weigand/setup-conda@v1
with:
activate-conda: false
conda-channels: conda-forge
- name: Setup Environment
shell: bash
run: |
conda create --name test python=${{ matrix.python }} pytest numpy=1.* gdal=3.* scipy pytz dask-core toolz "pandas<2.2" geopandas "pyproj>=2" fiona
source activate test
python -V
conda info
conda list
- name: Run tests
shell: bash
run: |
source activate test
pytest dask_geomodeling