Skip to content
Snippets Groups Projects
Commit 3886c13c authored by Dmytro Bogatov's avatar Dmytro Bogatov :two_hearts:
Browse files

Test new bad chars + bibfile.

parent 82034f40
Branches
No related tags found
No related merge requests found
Pipeline #22049 failed
......@@ -33,10 +33,10 @@ include:
file: "latex/chktex.yml"
ref: *ref
# https://git.dbogatov.org/templates/ci-snippets/-/blob/master/latex/cspell.yml
- project: "templates/ci-snippets"
file: "latex/cspell.yml"
ref: *ref
# # https://git.dbogatov.org/templates/ci-snippets/-/blob/master/latex/cspell.yml
# - project: "templates/ci-snippets"
# file: "latex/cspell.yml"
# ref: *ref
# https://git.dbogatov.org/templates/ci-snippets/-/blob/master/latex-report/metrics.yml
- project: "templates/ci-snippets"
......@@ -88,6 +88,30 @@ include:
file: "latex/pages.yml"
ref: *ref
cspell:
image: dbogatov/docker-images:cspell-latest
stage: lint
script:
- cspell -c .vscode/cSpell.json $LATEX_SRC/**/*.tex $LATEX_SRC/*.tex *.tex
- |
for character in " ̈" "„" "“" "–" "’"
do
echo ">>>> Checking $character "
! grep -n $character $LATEX_SRC/**/*.tex $LATEX_SRC/*.tex $LATEX_SRC/*.bib
if [[ $? != 0 ]];
then
echo ">>> FAIL"
exit 1
fi
done
rules:
- if: "$DISABLE_REGULAR_PIPELINE"
when: never
- when: on_success
tags:
- docker
# Uncomment to enable deletion of artifacts of previous jobs
# artifacts:
......
......
......@@ -6,5 +6,5 @@ https://eprint.iacr.org/2015/1125.pdf
booktitle = {Fast Software Encryption},
year = {2016},
publisher = {Springer Berlin Heidelberg},
pages = {474--493}
pages = {474493}
}
......@@ -23,7 +23,7 @@ fi
echo ">>> Testing special characters..."
for character in " ̈" "„" "“" "–"
for character in " ̈" "„" "“" "–" "’"
do
echo ">>>> Checking $character "
! grep -n $character document/**/*.tex document/*.tex
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment