diff --git a/.github/workflows/pr-checks.yml b/.github/workflows/pr-checks.yml new file mode 100644 index 0000000..ae62681 --- /dev/null +++ b/.github/workflows/pr-checks.yml @@ -0,0 +1,30 @@ +name: PR checks + +on: + pull_request: + branches: + - "**" + +permissions: + contents: read + +jobs: + test-and-build: + runs-on: ubuntu-latest + + steps: + - name: Check out repository + uses: actions/checkout@v4 + + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: "3.11" + + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install -r requirements.txt + + - name: Build book + run: teachbooks build book diff --git a/book/_toc.yml b/book/_toc.yml index 23e11cb..cfde90d 100644 --- a/book/_toc.yml +++ b/book/_toc.yml @@ -4,7 +4,7 @@ format: jb-book root: intro.md parts: - - caption: Week 1: Getting started! + - caption: "Week 1: Getting started!" chapters: - file: Week1/Folders.md - file: Week1/installation.md