Skip to content

Commit d3b099d

Browse files
author
Philip Z
committed
test: register Business ID example gate
1 parent b371693 commit d3b099d

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎scripts/verify-examples.sh‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ set -euo pipefail
44
repo="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
55
verification_dir="$(mktemp -d)"
66
trap 'rm -rf -- "$verification_dir"' EXIT
7-
expected=(conformance order-management school-management)
7+
expected=(business-id-runtime conformance order-management school-management)
88
mapfile -t actual < <(find "$repo/examples" -mindepth 1 -maxdepth 1 -type d -printf '%f\n' | sort)
99
if [[ "${actual[*]}" != "${expected[*]}" ]]; then
1010
echo "example inventory changed; update scripts/verify-examples.sh: ${actual[*]}" >&2
@@ -13,6 +13,8 @@ fi
1313

1414
cd "$repo"
1515
mvn -q -DskipTests install
16+
mvn -q -pl examples/business-id-runtime \
17+
-Dtest=BusinessIdRuntimeExampleTest test
1618
mvn -q -f examples/conformance/lib/pom.xml install -DskipTests
1719
mvn -q -f examples/conformance/pom.xml spring-boot:run \
1820
-Dspring-boot.run.arguments="--spring.main.web-application-type=none --spring.datasource.url=jdbc:sqlite:$verification_dir/conformance.db"

0 commit comments

Comments
 (0)