forked from GoogleCloudPlatform/runtimes-common
-
Notifications
You must be signed in to change notification settings - Fork 0
/
test.sh
executable file
·23 lines (19 loc) · 867 Bytes
/
test.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/bash
set -ex
echo "Checking formatting..."
find . -name "*.sh" | grep -v vendor/ | xargs shellcheck
flake8 .
./.gofmt.sh
./.buildifier.sh
echo "Running tests..."
bazel test --test_output=errors appengine/reconciletags:reconciletags_test
bazel test --test_output=errors appengine/reconciletags:reconciletags_par_test
bazel test --test_output=errors ftl/... --deleted_packages=ftl/node/benchmark,ftl/php/benchmark,ftl/python/benchmark,ftl/benchmark
bazel test --test_output=errors testing/lib:mock_registry_tests
pushd appengine/runtime_builders && py.test test_manifest.py && popd
# Check building of container related tools
bazel run //:gazelle
bazel build //docgen/scripts/docgen:docgen
bazel build //versioning/scripts/dockerfiles:dockerfiles
bazel build //versioning/scripts/cloudbuild:cloudbuild
bazel test --test_output=errors //ctc_lib/... //tuf/...