Skip to content

Commit b8c813a

Browse files
author
Sylvain MARIE
committed
Minor ci scripts comment edits and mkdocs comments
1 parent 71fb1bc commit b8c813a

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,6 @@ after_success:
145145
git remote add gh-remote "${GH_REF}";
146146
git fetch gh-remote && git fetch gh-remote gh-pages:gh-pages; # make sure we have the latest gh-remote
147147
# push but only if this is not a build triggered by a pull request
148-
# note: here we use the --dirty flag so that mkdocs does not clean the additional reports that we copied in the site
149148
# note: do not use the --dirty flag as it breaks client-side search
150149
if [ "${TRAVIS_PULL_REQUEST}" = "false" ] && [ "${DEPLOY_ENV}" = "true" ]; then echo "Pushing to github"; PYTHONPATH=pytest_cases/ mkdocs gh-deploy -v -f docs/mkdocs.yml --remote-name gh-remote; git push gh-remote gh-pages; fi;
151150
else

ci_tools/run_tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ trap "cleanup" INT TERM EXIT
1515
if [ "${DEPLOY_ENV}" = "true" ]; then
1616
# full
1717
# Run tests with "python -m pytest" to use the correct version of pytest
18-
echo -e "\n\n****** Running tests ******\n\n"
18+
echo -e "\n\n****** Running tests with coverage ******\n\n"
1919
coverage run --source pytest_cases -m pytest --junitxml=reports/junit/junit.xml --html=reports/junit/report.html -v pytest_cases/tests/
2020
# buggy
2121
# python -m pytest --junitxml=reports/junit/junit.xml --html=reports/junit/report.html --cov-report term-missing --cov=./pytest_cases -v pytest_cases/tests/

docs/mkdocs.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,7 @@ markdown_extensions:
1616
- pymdownx.highlight # see https://squidfunk.github.io/mkdocs-material/reference/code-blocks/#highlight
1717
- pymdownx.superfences # same as above as well as code blocks inside other blocks
1818
- admonition # to add notes such as http://squidfunk.github.io/mkdocs-material/extensions/admonition/
19+
# - codehilite:
20+
# guess_lang: false
1921
- toc:
2022
permalink: true

0 commit comments

Comments
 (0)