summaryrefslogtreecommitdiff
path: root/evergreen/lint_yaml.sh
blob: 0610ce1db6c39f1d4a6a2e506dee7bce77c94c02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" > /dev/null 2>&1 && pwd)"
. "$DIR/prelude.sh"

set -o pipefail

cd src

activate_venv
./buildscripts/yamllinters.sh | tee yamllinters.log
exit_code=$?

$python ./buildscripts/simple_report.py --test-name yamllinters --log-file yamllinters.log --exit-code $exit_code
exit $exit_code