Commit ec18a773 authored by Matthias Rüster's avatar Matthias Rüster
Browse files

CI: Add pycodestyle and shellcheck to test stage

parent 1667b18a
Pipeline #20893 passed with stages
in 6 minutes and 36 seconds
......@@ -33,6 +33,29 @@ verify_build_gpu:
script:
- *compile_easywave
check_style_python:
image: ubuntu:20.04
stage: test
before_script:
- apt-get update
- apt-get install -y python3-pip
- pip3 install -r "${TESTS_DIR}/requirements.txt"
- pip3 install --system pycodestyle
script:
- cd "${TESTS_DIR}"
- python3 -m compileall .
- pycodestyle *.py
check_style_bash:
image: koalaman/shellcheck-alpine:stable
stage: test
allow_failure: true
before_script:
- shellcheck --version
script:
- cd "${TESTS_DIR}"
- shellcheck *.sh
run_tests:
image: ubuntu:20.04
stage: test
......
......@@ -3,7 +3,7 @@
PYTHON="python3"
ADDITIONAL_EASYWAVE_ARGS=""
cd "$(dirname "$0")"
cd "$(dirname "$0")" || exit 1
echo "Extracting expected output directories"
......
......@@ -3,7 +3,7 @@
PYTHON="python3"
ADDITIONAL_EASYWAVE_ARGS="-gpu"
cd "$(dirname "$0")"
cd "$(dirname "$0")" || exit 1
echo "Extracting expected output directories"
......
Markdown is supported
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