From 370454752e4a1fa068b634e99178f7af886f832d Mon Sep 17 00:00:00 2001 From: Pepijn Fijt Date: Fri, 2 Dec 2022 09:45:01 +0100 Subject: [PATCH] Moved sphinx build documentation step to sphinx job --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 28c9c847..c2ed7a4e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -35,6 +35,8 @@ jobs: python -m pip install --upgrade pip pip install wheel pip install -r requirements/${{ matrix.python-version }}.txt + - name: Build documentation + run: sphinx-build -nW docs docs/_build/html - name: Run doctests run: sphinx-build -b doctest docs docs/_build/html @@ -94,8 +96,6 @@ jobs: docker run --rm -v /var/run/docker.sock:/var/run/docker.sock --network=bridge testcontainers-python python diagnostics.py echo "Container diagnostics with host network" docker run --rm -v /var/run/docker.sock:/var/run/docker.sock --network=host testcontainers-python python diagnostics.py - - name: Build documentation - run: sphinx-build -nW docs docs/_build/html - name: Lint the code run: flake8 - name: Run tests