Skip to content

Commit

Permalink
Merge pull request #1700 from napalm-automation/fix_doc_build
Browse files Browse the repository at this point in the history
Fix document build
  • Loading branch information
mirceaulinic committed Jul 26, 2022
2 parents ef8326c + 792e70d commit 9438938
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/commit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@ jobs:
run: |
python -m pip install --upgrade pip
python -m pip install -e .
pip install -r requirements.txt
pip install -r requirements-dev.txt
python -m pip install -r docs/requirements.txt
pip install -r requirements-dev.txt
pip install -r requirements.txt
- name: Doctests
run: |
Expand Down
4 changes: 4 additions & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,7 @@ sphinx
sphinx-rtd-theme
sphinxcontrib-napoleon
invoke
jinja2==2.11.3
MarkupSafe==2.0.1
pytest==6.2.5
ansible==4.10.0
5 changes: 1 addition & 4 deletions docs/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,8 @@ TEST_RESULTS_PATH="$CWD/support/tests"

if [ ! -f "report.json" ]; then
set -e
pip install -r ../requirements.txt -r ../requirements-dev.txt

set +e
py.test -c /dev/null --cov=./ -vs --json=report.json ../test*/*/test_getters.py
set -e

set -e
cp report.json $TEST_RESULTS_PATH/report.json
fi
4 changes: 2 additions & 2 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ black==22.6.0
coveralls==3.3.1
ddt==1.5.0
flake8-import-order==0.18.1
pytest==7.1.2
pytest==6.2.5
pytest-cov==3.0.0
pytest-json==0.4.0
pylama==8.2.1
Expand All @@ -14,4 +14,4 @@ types-six==1.16.17
types-setuptools==57.4.18
types-PyYAML==6.0.9
ttp==0.9.0
ttp_templates==0.3.0
ttp_templates==0.3.0

0 comments on commit 9438938

Please sign in to comment.