-
Notifications
You must be signed in to change notification settings - Fork 0
49 lines (40 loc) · 1.3 KB
/
notebook_check_python.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
49
name: Execute python notebooks
on:
pull_request:
workflow_dispatch:
# run once a week
schedule:
- cron: "0 0 * * 0"
jobs:
build:
runs-on: ubuntu-latest
steps:
- id: checkout
uses: actions/checkout@v3
- id: python-setup
name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.11'
- id: python-dependencies
name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements_dev.txt
pip install jupyter
- id: execute-bioscales
name: Execute bioscales notebook
run: |
jupyter nbconvert --execute --to notebook --inplace bioscales_biogeochemical_metadata/python/bioscales.ipynb
- id: execute-neon
name: Execute neon notebook
run: |
jupyter nbconvert --execute --to notebook --inplace NEON_soil_metadata/python/neon_soil_metadata_visual_exploration.ipynb
- id: execute-taxonomic
name: Execute taxonomic notebook
run: |
jupyter nbconvert --execute --to notebook --inplace taxonomic_dist_by_soil_layer/python/taxonomic_dist_soil_layer.ipynb
- id: execute-NOM
name: Execute NOM notebook
run: |
jupyter nbconvert --execute --to notebook --inplace NOM_visualizations/python/nom_data.ipynb