Building containers runs unit and acceptance tests.

This commit is contained in:
Stephane Gourichon
2025-08-15 19:08:33 +02:00
parent b6b1a5d0b7
commit 75395128f5
2 changed files with 9 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
#!/bin/bash
cd -P "$(dirname "$(readlink -f "$0")" )"
set -eu
dig gourichon.org @127.0.0.1 -p 57053 | grep -E 'gourichon.org.\s+[0-9]*\s+IN\s+A\s+82.64.72.120'

View File

@@ -34,6 +34,8 @@ do
podman-compose down || { fail_one "down" ; continue ; }
podman-compose up -d || { fail_one "switch to newly built container" ; continue ; }
bash test_unit.sh || { fail_one "unit test" ; }
bash test_acceptance.sh || { fail_one "acceptance test" ; continue ; }
done 3< <( find . -iname "compose.yaml" )
echo "Overall result: $RC"