SQSCANGHA-25 Rewrite tests using GitHub Actions

This commit is contained in:
Julien HENRY
2024-05-13 17:07:56 +02:00
committed by Antoine Vinot
parent 6abcb2537c
commit be64f35726
5 changed files with 137 additions and 118 deletions

10
test/assertFileContains Executable file
View File

@@ -0,0 +1,10 @@
#!/bin/bash
error() { echo -e "\\e[31m✗ $*\\e[0m"; }
assertFileExists $1
if ! grep -q $2 $1; then
error "'$2' not found in '$1'"
exit 1
fi