Change R Markdown material to Quarto #164
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
name: lectures | |
# Controls when the action will run. Triggers the workflow on push or pull | |
# request events but only for the main branch | |
on: | |
push: | |
paths: | |
- 'lectures/*/*.Rmd' | |
- 'lectures/*/*.ipynb' | |
- '.github/workflows/lectures.yml' | |
pull_request: | |
paths: | |
- 'lectures/*/*.Rmd' | |
- 'lectures/*/*.ipynb' | |
branches: | |
- main | |
jobs: | |
render: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
shell: bash -l {0} | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: conda-incubator/[email protected] | |
with: | |
miniforge-variant: Mambaforge | |
miniforge-version: latest | |
activate-environment: lecture-env | |
environment-file: lectures/environment.yml | |
use-mamba: true | |
channel-priority: strict | |
- name: Render lectures | |
run: | | |
cd lectures | |
snakemake -c 1 --use-conda |