Update .gitea/workflows/test.yml
Run CI Tests / test (push) Failing after 28s

This commit is contained in:
2025-07-24 02:47:18 +02:00
parent 47ab6ee117
commit fd1ad7e0cb
+14 -12
View File
@@ -29,18 +29,20 @@ jobs:
##################################### TO NOT CHANGE #################################
give_runs_log() {
local log_file="$1"
if [ -f "$log_file" ]; then
head -n -1 "$log_file"
exit_code=$(tail -n 1 "$log_file")
if [[ "$exit_code" == "Exit Code: 1" ]]; then
exit 1
fi
else
exit 1
fi
}
- name: Define give_runs_log function
run: |
give_runs_log() {
local log_file="$1"
if [ -f "$log_file" ]; then
head -n -1 "$log_file"
exit_code=$(tail -n 1 "$log_file")
if [[ "$exit_code" == "Exit Code: 1" ]]; then
exit 1
fi
else
exit 1
fi
}
- name: Pixi download
run: |