Skip to content
Snippets Groups Projects
Commit c94eaafa authored by Matthias Bernt's avatar Matthias Bernt
Browse files

Update file .gitlab-ci.yml

parent a4f6defb
No related branches found
No related tags found
1 merge request!5Add spellcking
Pipeline #472909 failed
stages:
- spellcheck
- typos
spellcheck:
stage: spellcheck
......@@ -9,10 +10,19 @@ spellcheck:
script:
# Run codespell recursively on the repository
- codespell --ignore-words-list="hifis" --skip="*.lock,*.csv" --quiet-level=2
- ls
artifacts:
when: always
reports:
junit: codespell-report.xml
rules:
- if: '$CI_PIPELINE_SOURCE == "push" || $CI_PIPELINE_SOURCE == "merge_request_event"'
\ No newline at end of file
- if: '$CI_PIPELINE_SOURCE == "push" || $CI_PIPELINE_SOURCE == "merge_request_event"'
typos:
stage: spellcheck
image: rust:latest
before_script:
# Install the 'typos' spellchecker
- cargo install typos-cli
script:
# Run 'typos' to check spelling in Markdown files
- typos --format brief --exclude .git --include "*.md"
rules:
- if: '$CI_PIPELINE_SOURCE == "push" || $CI_PIPELINE_SOURCE == "merge_request_event"'
allow_failure: false
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment