Comments (4)
Hi, thanks for using this action!
I can see that this is a valid situation where you don't want to compare to earlier commits as numbers become meaningless. That should be easy to add.
However, especially in your situation of partial testing, identifying tests that are accidentally removed or skipped becomes crucial. I like the idea of some kind of baseline. What I could think of is to fetch the test result files from the target branch (the commit we compare PRs against) and then have the unit tests overwrite them. This way, the action could compare results as is. Except for where suites are being removed, it should be able to identify all changes.
from publish-unit-test-result-action.
I can see that this is a valid situation where you don't want to compare to earlier commits as numbers become meaningless. That should be easy to add.
That would be great. I have a simple implementation for just the check bit in my fork at diem@3261e64 -- I haven't thought too much about a good UI but wanted to share this.
However, especially in your situation of partial testing, identifying tests that are accidentally removed or skipped becomes crucial. I like the idea of some kind of baseline. What I could think of is to fetch the test result files from the target branch (the commit we compare PRs against) and then have the unit tests overwrite them.
Oh that sounds like an interesting plan: kind of maintaining the baseline state and overwriting it incrementally as necessary. I'm not sure if we can put that specific plan into practice though: if we rely on artifacts, this would add a serial execution dependency between runs across commits that I'd rather avoid for now.
Regardless, I'm coming to realize that we'll need to make some fairly extensive customizations to the action to meet our needs, so I may end up building this out in a way that works for us. I think the way we'll probably do it is publish a baseline artifact with a list of tests in the same JUnit format, then use that as the input to perform the diff against. Happy to talk about upstreaming that implementation once it's done, or just maintaining a patchset of our changes ourselves.
from publish-unit-test-result-action.
I have merged the configuration bit to master, please give it a try:
uses: EnricoMi/publish-unit-test-result-action/composite@master
with:
compare_to_earlier_commit: false
I'd be happy to see how you have solved the baseline bit. Just open a new issue and we can talk about your use case and experience there. Thanks for raising this.
from publish-unit-test-result-action.
This has been released and is now available via @v1
.
from publish-unit-test-result-action.
Related Issues (20)
- Wrong duration using Mocha and the JSON reporter HOT 2
- Add support for publishing check to different Github repository HOT 1
- TAP support? HOT 2
- getting error "Key is not specified"
- Check is put into the wrong workflow group HOT 4
- Support node-tap XML HOT 2
- How do I disable checks? i.e. just get red/green step/job/workflow based on unit test results HOT 6
- Can't run on windows with python 3.11>> because lxml fails to build HOT 3
- ERROR: Could not install packages due to an OSError: [WinError 5] Access is denied HOT 7
- No more test results in the pull request since 2.9.0 HOT 3
- Getting error " CData section too big found, line 357183, column 7 (TESTS-TestSuites.xml, line 357183)" HOT 2
- Publish arm images HOT 4
- Publish test results task is not working due to test result XML not being found HOT 2
- Action fails if comment made by user whose account has been deleted prior to merge HOT 2
- Test Results are not shown in workflow run job list HOT 15
- action_fail_on_inconclusive passed with just a warning annotation HOT 11
- Remove symbols links HOT 2
- Support Maven Surefire Plugin rerunning flaky tests HOT 7
- Add support for TRX StdOut-Element HOT 3
- Option "check_run" not recognized HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from publish-unit-test-result-action.