-
Notifications
You must be signed in to change notification settings - Fork 1
48 lines (47 loc) · 1.32 KB
/
test_multiple_os.yml
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
43
44
45
46
47
48
on:
push:
branches: [master]
pull_request:
branches: [master]
name: Test on Multiple OS with Python 3.9
jobs:
Test:
name: ${{ matrix.os }}, ${{ matrix.env }}
runs-on: ${{ matrix.os }}
defaults:
run:
shell: bash -l {0}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
env:
- ci/envs/39-coastsat.yml
- ci/envs/38-coastsat.yml
include:
- env: ci/envs/39-coastsat.yml
os: macos-latest
- env: ci/envs/39-coastsat.yml
os: windows-latest
- env: ci/envs/39-coastsat.yml
os: ubuntu-latest
- env: ci/envs/38-coastsat.yml
os: macos-latest
- env: ci/envs/38-coastsat.yml
os: windows-latest
- env: ci/envs/38-coastsat.yml
os: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Conda with python 3.9
uses: conda-incubator/setup-miniconda@v2
with:
environment-file: ${{ matrix.env }}
miniconda-version: "latest"
- run: |
conda info
conda list
- name: Install Latest coastsat-package
run: |
python -m pip install --upgrade pip
pip install coastsat-package -U