Skip to content

Commit

Permalink
ci: re-add PR checker
Browse files Browse the repository at this point in the history
  • Loading branch information
daringer committed Nov 26, 2024
1 parent f8b576c commit ac2d983
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Pull Request Checker
on:
pull_request:

jobs:
syntax-check:
name: Check syntax
runs-on: ubuntu-latest
container: python:3.11-slim
continue-on-error: true
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Create virtual environment
run: make venv
- name: Syntax check
run: |
. venv/bin/activate
rstcheck --recursive --ignore-directives "tabs" source/
build-error-check:
name: Check build error
runs-on: ubuntu-latest
container: python:3.11-slim
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Create virtual environment
run: make venv
- name: Build documentation
run: |
. venv/bin/activate
sphinx-build -W -j 1 -a -D language='en' -b html source dist/en

0 comments on commit ac2d983

Please sign in to comment.