xref: /aosp_15_r20/external/dagger2/util/run-local-tests.sh (revision f585d8a307d0621d6060bd7e80091fdcbf94fe27)
1#!/bin/bash
2
3set -ex
4
5# These jobs should match .github/workflows/ci.yml. We can't run this script
6# directly in Github since it's too slow for a single job.
7
8# Run local bazel tests
9bazel test --test_output=errors //...
10
11# Install local maven artifacts.
12util/install-local-snapshot.sh
13
14# Run local mvn tests
15pushd examples/maven && mvn compile && popd
16
17# Run local gradle tests
18util/run-local-gradle-tests.sh
19util/run-local-gradle-android-tests.sh "7.0.0"
20util/run-local-gradle-android-tests.sh "7.1.2"
21
22# TODO: this script is not up-to-date with Dagger github actions
23