Skip to content

Conversation

@braveocheretovych
Copy link
Contributor

No description provided.

Copy link
Contributor

@merks merks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With these changes it looks like this:

image

That seems correct to me. Can someone else confirm?

@github-actions
Copy link
Contributor

github-actions bot commented Mar 11, 2025

Test Results

   545 files  ±0     545 suites  ±0   28m 32s ⏱️ -51s
 4 367 tests ±0   4 355 ✅ ±0   12 💤 ±0  0 ❌ ±0 
16 616 runs  ±0  16 512 ✅ ±0  104 💤 ±0  0 ❌ ±0 

Results for commit de153c7. ± Comparison against base commit 42ed1da.

♻️ This comment has been updated with latest results.

Copy link
Contributor

@laeubi laeubi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not correct. It now only shows that the job succeeds (what hopefully is always the case) but no longer shows the (failed) tests.

grafik

@laeubi
Copy link
Contributor

laeubi commented Mar 11, 2025

Beside that I'm not sure if codefreeze period check makes any sense here...

@braveocheretovych
Copy link
Contributor Author

I can also add an old shield if that's important?

@HeikoKlare
Copy link
Contributor

I agree that the tests badge should be there. It's explicitly generated and deployed by the workflow publishing test results:

- name: Upload badge to Gist
if: github.ref == 'refs/heads/master'
uses: andymckay/append-gist-action@ab30bf28df67017c7ad696500b218558c7c04db3
with:
token: ${{ secrets.GIST_TOKEN }}
gistURL: https://gist.githubusercontent.com/eclipse-releng-bot/78d110a601baa4ef777ccb472f584038
file: badge.svg

@braveocheretovych
Copy link
Contributor Author

I think that would be correct.

@braveocheretovych
Copy link
Contributor Author

Hey. You accept it

@HeikoKlare
Copy link
Contributor

As mentioned before (#1897 (comment)), in my opinion the tests badge should not be removed: (https://gist.githubusercontent.com/eclipse-releng-bot/78d110a601baa4ef777ccb472f584038/raw/71510599eb84e852f3e135aa7a3ddf33854ca716/badge.svg

@braveocheretovych
Copy link
Contributor Author

As mentioned before (#1897 (comment)), in my opinion the tests badge should not be removed: (https://gist.githubusercontent.com/eclipse-releng-bot/78d110a601baa4ef777ccb472f584038/raw/71510599eb84e852f3e135aa7a3ddf33854ca716/badge.svg

I fixed everything, check it again.

@HeikoKlare
Copy link
Contributor

This is what it would currently look like:
image

I agree with @laeubi that the freeze period check does not make sense here. Reason is that the badges show results from latest master build and in freeze period we will usually not merge into master, so this badge will always show "passed" unless someone merged within freeze period. And then it would even report "failed" until the first PR is merged after freeze period.

So only change that would remain with this PR is the addition of the badge for publishing test results. I think that one makes sense to add, as it indicates whether the badge containing the actual tests results may be out-of-date (as that one will not be updated in case the test results publish failed).

If not one objects on adding that one, @braveocheretovych could you please remove the freeze period badge and squash your commits so that we may merge this?

@braveocheretovych
Copy link
Contributor Author

So I edited what you asked for, the only thing I don't know is how to compress it all into one commit. Maybe I should close this one and create a new one, what do you think?

@HeikoKlare
Copy link
Contributor

I don't know is how to compress it all into one commit. Maybe I should close this one and create a new one, what do you think?

You don't need to create a new PR. In Git, you can squash commits via interactive rebase (or some GUI tools also have a dedicated "squash" functionality). You can find several tutorial on how to do it in the web, e.g., https://www.datacamp.com/tutorial/git-squash-commits
In your case, when using a command line tool, you would need to do a git rebase -i HEAD~4 and mark the three latest commits as squash instead of pick so that they are squash into a single one.

@braveocheretovych
Copy link
Contributor Author

I'm sorry to admit it, but I can't do this because I'm making the change through the edit tab on Github, I don't use the terminal to work.

@HeikoKlare HeikoKlare force-pushed the patch-1 branch 2 times, most recently from 58336ba to 232b9f4 Compare March 30, 2025 18:37
@HeikoKlare
Copy link
Contributor

Alright, I've squashed the changes for you.

@braveocheretovych
Copy link
Contributor Author

Thankyou @HeikoKlare

@braveocheretovych
Copy link
Contributor Author

Do I need to take any further action?

@HeikoKlare
Copy link
Contributor

No, you don't need to take any further action. I just wanted to keep this open for a short while to give the chance to raise objections (see #1897 (comment)).

@braveocheretovych
Copy link
Contributor Author

I understand, thanks for the clarification.

@HeikoKlare HeikoKlare merged commit f35ee7f into eclipse-platform:master Mar 31, 2025
15 checks passed
jonahgraham added a commit to jonahgraham/eclipse.platform.swt that referenced this pull request Nov 14, 2025
As part of working on eclipse-platform#2764
I was considering how to display badges going forward to align with
test results per platform. As it turns out the "SWT Matrix Tests"
has been stuck on an arbitrary old badge for many years now.

This PR updates it, but as it has been wrong for a long time, perhaps
removing it entirely makes more sense, but for now I update it. There
was push back in eclipse-platform#1897
against removing it.

Part of eclipse-platform#2714
@jonahgraham
Copy link
Contributor

I can also add an old shield if that's important?

The readme.md (before this change, but preserved with this PR) has it hardcoded to a specific old (3 year old) version. That 3 year old badge was from a day the tests failed, so the readme has shown failing badge for 3 years. See PR #2778 for an update.

jonahgraham added a commit that referenced this pull request Nov 14, 2025
As part of working on #2764
I was considering how to display badges going forward to align with
test results per platform. As it turns out the "SWT Matrix Tests"
has been stuck on an arbitrary old badge for many years now.

This PR updates it, but as it has been wrong for a long time, perhaps
removing it entirely makes more sense, but for now I update it. There
was push back in #1897
against removing it.

Part of #2714
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants