Skip to content

Commit 85bc030

Browse files
Merge pull request #199 from testcontainers/fix_readthedocs
Pipeline improvements
2 parents 1c7db33 + f875884 commit 85bc030

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
@@ -59,9 +59,12 @@ jobs:
5959
docker run --rm -v /var/run/docker.sock:/var/run/docker.sock --network=bridge testcontainers-python python diagnostics.py
6060
echo "Container diagnostics with host network"
6161
docker run --rm -v /var/run/docker.sock:/var/run/docker.sock --network=host testcontainers-python python diagnostics.py
62+
- name: Make docs
63+
if: matrix.python-version == '3.7'
64+
run: |
65+
sphinx-build -nW docs docs/_build/html
6266
- name: Run checks
6367
run: |
6468
flake8
65-
sphinx-build -nW docs docs/_build/html
6669
py.test -svx --cov-config .coveragerc --cov-report html:skip-covered --cov-report term:skip-covered --cov=testcontainers --tb=short tests/test_${{ matrix.test-component }}
6770
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)