- updated dependencies: jackson 3.2.4, httpclient5 5.6.4, lombok 1.18.48,
logback-classic 1.6.6, mockito-junit-jupiter 5.24.0 - updated maven plugins: maven-compiler-plugin 3.16.0, maven-surefire-plugin 3.6.0, maven-jar-plugin 3.5.1 - jetbrains-annotations version moved to a property - ci: publish-report rebases instead of force pushing and only publishes on push events - add test report link to README.md - update test report Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
9a312b464e
commit
55df4975a2
5 files changed
+33
-17
No files matched your search
@@ -111,6 +111,8 @@ runs:
|
||||
EOF
|
||||
|
||||
- name: Commit Test-Report to Repo
|
||||
# pull requests have no branch to push to (ref_name is e.g. "1/merge")
|
||||
if: ${{ github.event_name == 'push' }}
|
||||
shell: bash
|
||||
env:
|
||||
GIT_USER: gitea-actions-bot
|
||||
@@ -125,4 +127,12 @@ runs:
|
||||
git add reports/
|
||||
git diff --cached --quiet && echo "No changes" && exit 0
|
||||
git commit -m "ci: update test report [skip ci]"
|
||||
git push origin ${{ github.ref_name }}
|
||||
# rebase onto commits pushed in the meantime instead of overwriting them;
|
||||
# on conflicts in reports/ the freshly generated report wins
|
||||
for attempt in 1 2 3; do
|
||||
git pull --rebase --autostash -X theirs origin ${{ github.ref_name }}
|
||||
git push origin ${{ github.ref_name }} && exit 0
|
||||
echo "Push rejected (attempt $attempt), retrying..."
|
||||
sleep 5
|
||||
done
|
||||
exit 1
|
||||
Reference in new issue
Block a user