-
-
Notifications
You must be signed in to change notification settings - Fork 1
36 lines (34 loc) · 914 Bytes
/
main.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
name: CI
on:
push:
branches: '*'
pull_request:
branches: master
jobs:
test:
name: ${{ matrix.python-version }}-build
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7, 3.8]
steps:
- uses: actions/checkout@v3
- uses: conda-incubator/setup-miniconda@v2
with:
mamba-version: '*'
channels: conda-forge
environment-file: binder/environment.yml
python-version: ${{ matrix.python-version }}
activate-environment: carbonplan
- shell: bash -l {0}
run: |
conda info
conda list
- shell: bash -l {0}
run: |
python -m pip install nbconvert
python -m pip list
- shell: bash -l {0}
name: Running Tests
run: |
for nb in **/*.ipynb; do echo $nb; time jupyter nbconvert --to notebook --execute $nb; done