chore: align component test entrypoints
Beffroi Reporting CI All checks passed and encrypted report archives were built.
Beffroi/beffroi-reporting/pipeline/head This commit looks good Details

This commit is contained in:
Dandaedre 2026-09-16 02:55:59 +02:00
parent 311c164d54
commit 527d6400a6
Signed by: Dandaedre
GPG Key ID: 440C6592E8A26D99
4 changed files with 7 additions and 7 deletions

@ -1 +1 @@
Subproject commit cce15ebda6859638bbe7d6c1428a1d48515a5916
Subproject commit 91eb474dc0f8c8cbbc52603391f07abbde34737a

@ -1 +1 @@
Subproject commit 5a1a63857f7c4f1b38b0362dc5d1cda5d8da6221
Subproject commit 23e456e826851c5c54a2cd98412c9f0814755635

@ -1 +1 @@
Subproject commit daea3f43e572518435140c435d22d8d1507ae725
Subproject commit 8a4c11e7ac12249d117bef2adeadc831d19973d0

View File

@ -9,12 +9,12 @@ command -v uv >/dev/null 2>&1 || {
}
for component in diagnostics reports; do
if [[ ! -f "$component/requirements.txt" || ! -d "$component/tests" || ! -x "$component/test.sh" ]]; then
if [[ ! -f "$component/tests/requirements.txt" || ! -x "$component/tests/test.sh" ]]; then
echo "Missing $component checks. Run: git submodule update --init --recursive" >&2
exit 1
fi
done
if [[ ! -f reporter/requirements.txt || ! -x reporter/render.sh || ! -x reporter/tests/test.sh ]]; then
if [[ ! -f reporter/tests/requirements.txt || ! -x reporter/render.sh || ! -x reporter/tests/test.sh ]]; then
echo "Missing reporter entrypoint or checks. Run: git submodule update --init --recursive" >&2
exit 1
fi
@ -28,7 +28,7 @@ typst --version
uv --version
for component in diagnostics; do
echo "Checking $component ($(git -C "$component" rev-parse HEAD))"
"$component/test.sh"
"$component/tests/test.sh"
done
echo "Checking reporter ($(git -C reporter rev-parse HEAD))"
@ -40,7 +40,7 @@ REPORT_VALIDATOR="$(pwd)/reporter/tools/validate.sh" \
BRANDING="$(pwd)/reports/config/branding/default.json" \
BRANDING_ROOT="$(pwd)/reports" \
BRANDING_DIRECTORY="$(pwd)/reports/config/branding" \
reports/test.sh
reports/tests/test.sh
pipeline_check_parent="$(mktemp -d "${TMPDIR:-/tmp}/beffroi-pipeline-check.XXXXXX")"
trap 'rm -rf -- "$pipeline_check_parent"' EXIT