-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (36 loc) · 930 Bytes
/
test.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
name: CI
on:
pull_request:
push:
paths-ignore:
- '**.md'
- 'doc/*'
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.11']
steps:
- name: Checkout reposistory
uses: actions/checkout@v3
with:
submodules: recursive
- uses: conda-incubator/setup-miniconda@v3
with:
miniconda-version: 'latest'
channels: conda-forge
mamba-version: "*"
channel-priority: true
auto-update-conda: false
auto-activate-base: false
environment-file: src/python/environment.yml
activate-environment: earth-analytics-python
- name: Display Python version
run: python -c "import sys; print(sys.version)"
- name: Prepare tests
run: 'make info testdeps'
- name: Run tests
run: 'make test'