From bfe277c2ccc5cf6ac2410dcd3883fd9ee3e06c86 Mon Sep 17 00:00:00 2001 From: adamdebek Date: Mon, 15 Jul 2024 15:20:23 +0200 Subject: [PATCH] add build workflow JIRA: CI-462 --- .github/workflows/build.yml | 33 +++++++++++++++++++++++++++++++++ requirements.txt | 5 +++++ 2 files changed, 38 insertions(+) create mode 100644 .github/workflows/build.yml create mode 100644 requirements.txt diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 00000000..e5f96698 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,33 @@ +# vim:sw=2:ts=2 +# build html version of docs +name: build + +# on events +on: + pull_request: + branches: + - master + - 'feature/*' + +jobs: + build: + runs-on: ubuntu-latest + name: build + + steps: + - uses: actions/checkout@v4 + - uses: sphinx-doc/github-problem-matcher@master + + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v5 + with: + python-version: "3.10" + + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install -r requirements.txt + + - name: Build docs + run: | + make clean html SPHINXOPTS="-W --keep-going -n" diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 00000000..80cbbfc7 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,5 @@ +sphinx==7.2.6 +sphinx_copybutton==0.5.2 +myst-parser==2.0.0 +furo==2024.1.29 +pygments==2.17.2