Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Ensure surefire-action-report for nightly only runs on main #6274

Merged
merged 1 commit into from
Oct 23, 2024

Conversation

devinrsmith
Copy link
Member

This fixes the errors currently observed due to the introduction of #6269 by making sure the step only runs on the main branch. For example, https://github.com/deephaven/deephaven-core/actions/runs/11485054757/job/31964249592 has the following log

Going to parse results form **/build/test-results/*/TEST-*.xml
Result: 9648 tests run, 37 skipped, 0 failed.
Posting status 'completed' with conclusion 'success' to refs/heads/dependabot/gradle/io.airlift-aircompressor-2.0.2 (sha: 7ab48f9cdc6674c3c6bba1f6fb3c82a39d0d854a)
Error: Resource not accessible by integration

In this case, action-surefire-report is trying to report against a SHA owned by the dependabot branch.

This fixes the errors currently observed due to the introduction of deephaven#6269 by making sure the step only runs on the main branch. For example, https://github.com/deephaven/deephaven-core/actions/runs/11485054757/job/31964249592 has the following log

```
Going to parse results form **/build/test-results/*/TEST-*.xml
Result: 9648 tests run, 37 skipped, 0 failed.
Posting status 'completed' with conclusion 'success' to refs/heads/dependabot/gradle/io.airlift-aircompressor-2.0.2 (sha: 7ab48f9)
Error: Resource not accessible by integration
```

In this case, action-surefire-report is trying to report against a SHA owned by the dependabot branch.
@devinrsmith devinrsmith enabled auto-merge (squash) October 23, 2024 19:39
@devinrsmith devinrsmith merged commit 306153a into deephaven:main Oct 23, 2024
23 checks passed
@devinrsmith devinrsmith deleted the remove-surefire-report branch October 23, 2024 20:03
@github-actions github-actions bot locked and limited conversation to collaborators Oct 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants