Skip to content

Commit

Permalink
Moved sphinx build documentation step to sphinx job
Browse files Browse the repository at this point in the history
  • Loading branch information
pffijt committed Dec 2, 2022
1 parent 8e1010e commit 3704547
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 3704547

Please sign in to comment.