Skip to content

Commit

Permalink
ci: fix missing stopwords in pdoc3 doc generation
Browse files Browse the repository at this point in the history
  • Loading branch information
Sieboldianus committed May 12, 2020
1 parent ed9b754 commit 606ab7f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .gitlab-ci.yml
Expand Up @@ -6,7 +6,7 @@ stages:
- test
- mkdocs
- deploy

test:
image: registry.gitlab.vgiscience.org/tud_ifk/miniconda-cidefault
before_script:
Expand Down Expand Up @@ -35,6 +35,7 @@ test:
- argdown --truncate-help parse_args.py > docs/argparse/args.md
# to enable all warnings during ci doc generation
# - export PYTHONWARNINGS='error::UserWarning'
- python -c "import nltk;nltk.download('stopwords')"
- pdoc --config show_type_annotations=True --template-dir docs/apidoc/ --html --output-dir docs/api/ lbsntransform
# create badges
- pylint --output-format=text lbsntransform | tee pylint.txt || pylint-exit $?
Expand All @@ -58,7 +59,7 @@ test:
- if:
$CI_COMMIT_BRANCH == "master" ||
$CI_COMMIT_BRANCH == "ci-test"

mkdocs:
stage: mkdocs
image: registry.gitlab.vgiscience.org/tud_ifk/alpine-mkdocs
Expand Down

0 comments on commit 606ab7f

Please sign in to comment.