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

This commit is contained in:
2025-07-24 02:57:34 +02:00
parent fd1ad7e0cb
commit df9c0dd076
+7 -18
View File
@@ -29,40 +29,29 @@ jobs:
##################################### TO NOT CHANGE #################################
- name: Define give_runs_log function
- name: Execute give_runs_log from test-ci repo
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
}
chmod +x test-ci/scripts/give_runs_log.sh
- name: Pixi download
run: |
give_runs_log "outputs/pixi.log"
./test-ci/scripts/give_runs_log.sh "outputs/pixi.log"
- name: Run tests and generate reports
run: |
give_runs_log "outputs/test-ci.log"
./test-ci/scripts/give_runs_log.sh "outputs/test-ci.log"
- name: Prepare the push to wiki
run: |
give_runs_log "outputs/wiki-clone.log"
./test-ci/scripts/give_runs_log.sh "outputs/wiki-clone.log"
- name: Commit to wiki
run: |
give_runs_log "outputs/commit-push-wiki.log"
./test-ci/scripts/give_runs_log.sh "outputs/commit-push-wiki.log"
- name: Wiki report URLs
run: |
give_runs_log "outputs/wiki-report-urls.log"
./test-ci/scripts/give_runs_log.sh "outputs/wiki-report-urls.log"