Update environment_full.yml #22
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# The CI action below was authored by the Environmental Data Science community, Alejandro Coca-Castro and Anne Fouilloux, as part of the community executable notebook repository templates for conda environments, https://github.com/Environmental-DS-Book/template-executable-notebook | |
name: ci | |
on: [push] | |
jobs: | |
build: | |
name: ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: ["ubuntu-latest"] | |
defaults: | |
run: | |
shell: bash -l {0} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up conda and dependencies | |
uses: conda-incubator/setup-miniconda@v2 | |
with: | |
auto-update-conda: true | |
activate-environment: repo | |
environment-file: environment.yml | |
# Install extra packages | |
- name: Install jupyter dependencies | |
run: | | |
conda install pip | |
pip install jinja2==3.0.2 | |
pip install jupyter | |
pip install nbconvert | |
# Render the notebook | |
- name: Render the notebook | |
run: | | |
jupyter nbconvert --to notebook --ExecutePreprocessor.kernel_name=python3 --inplace --execute tree-crown-detection.ipynb |