15 lines
381 B
Bash
Executable file
15 lines
381 B
Bash
Executable file
#!/bin/bash
|
|
|
|
# TODO: use yq to parse .gitlab-ci.yaml and auto run whatever the CI does
|
|
|
|
SCRIPT_ROOT="$( cd -- "$(dirname "$0")" >/dev/null 2>&1 && pwd -P )"
|
|
|
|
cd "$SCRIPT_ROOT/.." || exit 1
|
|
|
|
bash "$SCRIPT_ROOT/lint_json.sh" || exit 1
|
|
find . -type f -name '*.sh' -print0 | xargs -0 shellcheck || exit 1
|
|
pytest . || exit 1
|
|
pylint twnet_parser/ || exit 1
|
|
mypy twnet_parser/ || exit 1
|
|
|