Skip to content

Change R Markdown material to Quarto #164

Change R Markdown material to Quarto

Change R Markdown material to Quarto #164

Workflow file for this run

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