Commit 5903e21b authored by Lars Kruse's avatar Lars Kruse
Browse files

ci: check code style and spelling

parent 19e9ce70
Pipeline #1349 failed
...@@ -3,14 +3,25 @@ image: python:3.8 ...@@ -3,14 +3,25 @@ image: python:3.8
stages: stages:
- test - test
before_script: .install_requirements:
- apt-get -qq update - apt-get -qq update
- python3.8 -m venv python - python3.8 -m venv python
- . python/bin/activate - . python/bin/activate
- pip3 install -r requirements.txt - pip3 install -r requirements.txt
- cp config/sample-production.engine.ini config/engine.ini
run_test_cases: run_test_cases:
stage: test stage: test
before_script:
- *install_requirements
- cp config/sample-production.engine.ini config/engine.ini
script: script:
- ./run.sh test - ./run.sh test
check_style:
stage: test
before_script:
- apt-get --quiet update
- apt-get --quiet --yes install codespell make python3-flake8
script:
- make lint
- make spelling
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment