Skip to content

Commit

Permalink
Add CI pipeline to check for build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
mmerklinger committed Mar 11, 2024
1 parent 13dc9ac commit 0e43703
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Continuous integration
on:
push:
branches-ignore:
- "master"
pull_request:

jobs:
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: |
python -m venv venv
. venv/bin/activate
pip install -r requirements.txt
- name: Build documentation
run: |
. venv/bin/activate
sphinx-build -W -j 1 -a -D language='en' -b html . __preview

0 comments on commit 0e43703

Please sign in to comment.