Files
wehub-resource-sync db1d565b64
Integration Tests / melodic (push) Has been cancelled
Integration Tests / noetic (push) Has been cancelled
Integration Tests / humble (push) Has been cancelled
Integration Tests / jazzy (push) Has been cancelled
Ruff Lint & Format / ruff (push) Has been cancelled
Sync main to develop / Check if sync is needed (push) Has been cancelled
Sync main to develop / Sync main to develop (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 12:36:23 +08:00

36 lines
814 B
Bash
Executable File

#!/bin/bash
# Run integration tests against ALL supported distros.
# Usage: ./tests/integration/scripts/run-tests-all-distros.sh
set -e
cd "$(git rev-parse --show-toplevel)"
DISTROS=(melodic noetic humble jazzy)
PASSED=()
FAILED=()
for distro in "${DISTROS[@]}"; do
echo ""
echo "========================================"
echo " Testing: $distro"
echo "========================================"
echo ""
if ./tests/integration/scripts/run-tests.sh "$distro"; then
PASSED+=("$distro")
else
FAILED+=("$distro")
fi
done
echo ""
echo "========================================"
echo " RESULTS"
echo "========================================"
echo "Passed: ${PASSED[*]:-none}"
echo "Failed: ${FAILED[*]:-none}"
echo ""
if [ ${#FAILED[@]} -gt 0 ]; then
exit 1
fi