Skip to content

Build PDF Book

Build PDF Book #27

Workflow file for this run

name: Run tests
on:
push:
branches: [ main ]
repository_dispatch:
types: [ update ]
workflow_dispatch:
pull_request:
branches: [ main ]
permissions:
contents: write
jobs:
test_tutorial_scripts:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: install requirements
run: |
cd new-website
cd utils
pip install -r requirements.txt
- name: Test tutorial fetching and export
run: |
cd new-website
cd utils/tutorials
python3 test_fetch_tutorials.py
- name: test tutorials util functions
run: |
cd new-website
cd utils/tutorials
python3 test_utils.py