CI: Add new "lint" stage with lint-codespell step to run codespell on gitlab CI

This commit is contained in:
Yaroslav Halchenko 2023-03-29 14:28:02 -04:00
parent 1f00174272
commit fdaea8830f

View file

@ -11,6 +11,7 @@
# moment. # moment.
stages: stages:
- lint
- container - container
- build - build
@ -108,3 +109,12 @@ build-meson:
artifacts: artifacts:
paths: paths:
- build/ - build/
lint-codespell:
stage: lint
image: $UBUNTU_IMAGE
before_script:
- apt-get update && apt-get install -y python3-pip
- pip3 install codespell
script:
- codespell