Skip to content

[pre-commit.ci] pre-commit autoupdate #132

[pre-commit.ci] pre-commit autoupdate

[pre-commit.ci] pre-commit autoupdate #132

Workflow file for this run

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
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4.2.0
- uses: pre-commit/action@v3.0.0