Skip to content

Commit c9828a3

Browse files
committed
Fix readthedocs build
1 parent 130d89e commit c9828a3

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,12 @@ jobs:
4040
docker run --rm -v /var/run/docker.sock:/var/run/docker.sock --network=bridge testcontainers-python python diagnostics.py
4141
echo "Container diagnostics with host network"
4242
docker run --rm -v /var/run/docker.sock:/var/run/docker.sock --network=host testcontainers-python python diagnostics.py
43+
- name: Make docs
44+
if: matrix.python-version == '3.7'
45+
run: |
46+
sphinx-build -nW docs docs/_build/html
4347
- name: Run checks
4448
run: |
4549
flake8
46-
sphinx-build -nW docs docs/_build/html
4750
py.test -svx --cov-config .coveragerc --cov-report html:skip-covered --cov-report term:skip-covered --cov=testcontainers --tb=short tests/
4851
codecov

.readthedocs.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,4 @@ formats: all
1616
python:
1717
version: 3.7
1818
install:
19-
- method: pip
20-
path: .
19+
- requirements: requirements/3.7.txt

0 commit comments

Comments
 (0)