From f1d7fc89a134e4beb12dd20fc937c4504c1175dd Mon Sep 17 00:00:00 2001 From: "M. Zain Sohail" Date: Mon, 16 Oct 2023 17:58:57 +0200 Subject: [PATCH] add pandoc --- .github/workflows/autodoc_tutorials.yml | 3 +++ .github/workflows/pylint.yml | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/autodoc_tutorials.yml b/.github/workflows/autodoc_tutorials.yml index 9c15fbb35..70bc1e1ce 100644 --- a/.github/workflows/autodoc_tutorials.yml +++ b/.github/workflows/autodoc_tutorials.yml @@ -25,6 +25,9 @@ jobs: - name: Install jupyter run: poetry install -E notebook + - name: Install pandoc + run: sudo apt-get install pandoc + # Execute and convert notebooks - name: execute notebooks run: find $GITHUB_WORKSPACE/tutorial -type f -name "*.ipynb" -exec poetry run jupyter-nbconvert --execute --to notebook --inplace {} \; diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml index c02f7fa21..84500bc75 100644 --- a/.github/workflows/pylint.yml +++ b/.github/workflows/pylint.yml @@ -3,7 +3,9 @@ name: linting -on: [push] +on: + push: + branches: main jobs: build: