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 creating checks with more than 50 annotations #215

Merged
merged 13 commits into from
Jan 18, 2022

Conversation

EnricoMi
Copy link
Owner

@EnricoMi EnricoMi commented Jan 18, 2022

While looking into #212 it turned out that creating checks with more than 50 annotations does actually not work. The action creates multiple checks, which overwrites earlier checks. It does not produces the error reported in #212 though. This might have caused #183.

While testing this it turned out that if there are test names longer than max_chunk_size, the action turns into an endless loop. This unlikely case is handled now by dropping all test names (skipping test list annotations entirely) while working otherwise.

This fixes creation of checks with more than 50 annotations. This also fixes #214.

@github-actions
Copy link

github-actions bot commented Jan 18, 2022

Unit Test Results (Linux)

     15 files  ±0       15 suites  ±0   46s ⏱️ ±0s
   259 tests ±0     259 ✔️ ±0      0 💤 ±0  0 ±0 
3 885 runs  ±0  3 785 ✔️ ±0  100 💤 ±0  0 ±0 

Results for commit e9870ab. ± Comparison against base commit 043296c.

♻️ This comment has been updated with latest results.

@github-actions

This comment has been minimized.

@github-actions
Copy link

github-actions bot commented Jan 18, 2022

Unit Test Results (macOS)

     15 files  ±0       15 suites  ±0   46s ⏱️ ±0s
   259 tests ±0     259 ✔️ ±0      0 💤 ±0  0 ±0 
3 885 runs  ±0  3 785 ✔️ ±0  100 💤 ±0  0 ±0 

Results for commit e9870ab. ± Comparison against base commit 043296c.

♻️ This comment has been updated with latest results.

@github-actions
Copy link

github-actions bot commented Jan 18, 2022

Unit Test Results (Test Files)

  24 files  ±0      4 errors  21 suites  ±0   39m 12s ⏱️ ±0s
272 tests ±0  227 ✔️ ±0  18 💤 ±0  23 ±0  4 🔥 ±0 
437 runs  ±0  354 ✔️ ±0  53 💤 ±0  25 ±0  5 🔥 ±0 

For more details on these parsing errors, failures and errors, see this check.

Results for commit e9870ab. ± Comparison against base commit 043296c.

♻️ This comment has been updated with latest results.

@github-actions
Copy link

github-actions bot commented Jan 18, 2022

Unit Test Results (Docker Image)

     15 files  ±0       15 suites  ±0   46s ⏱️ ±0s
   259 tests ±0     259 ✔️ ±0      0 💤 ±0  0 ±0 
3 885 runs  ±0  3 785 ✔️ ±0  100 💤 ±0  0 ±0 

Results for commit e9870ab. ± Comparison against base commit 043296c.

♻️ This comment has been updated with latest results.

@github-actions
Copy link

github-actions bot commented Jan 18, 2022

Unit Test Results (Dockerfile)

     15 files  ±0       15 suites  ±0   46s ⏱️ ±0s
   259 tests ±0     259 ✔️ ±0      0 💤 ±0  0 ±0 
3 885 runs  ±0  3 785 ✔️ ±0  100 💤 ±0  0 ±0 

Results for commit e9870ab. ± Comparison against base commit 043296c.

♻️ This comment has been updated with latest results.

@github-actions
Copy link

github-actions bot commented Jan 18, 2022

Unit Test Results (Windows)

     15 files  ±0       15 suites  ±0   46s ⏱️ ±0s
   259 tests ±0     259 ✔️ ±0      0 💤 ±0  0 ±0 
3 885 runs  ±0  3 785 ✔️ ±0  100 💤 ±0  0 ±0 

Results for commit e9870ab. ± Comparison against base commit 043296c.

♻️ This comment has been updated with latest results.

@github-actions
Copy link

github-actions bot commented Jan 18, 2022

Unit Test Results (reference)

     15 files  ±0       15 suites  ±0   46s ⏱️ ±0s
   259 tests ±0     259 ✔️ ±0      0 💤 ±0  0 ±0 
3 885 runs  ±0  3 785 ✔️ ±0  100 💤 ±0  0 ±0 

Results for commit e9870ab. ± Comparison against base commit 043296c.

♻️ This comment has been updated with latest results.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@EnricoMi
Copy link
Owner Author

Creating more than 50 annotations works: https://github.com/EnricoMi/publish-unit-test-result-action/runs/4860016192

@EnricoMi EnricoMi marked this pull request as ready for review January 18, 2022 22:36
@EnricoMi EnricoMi changed the title Test with many annotations Fix creating checks with more than 50 annotations Jan 18, 2022
@github-actions
Copy link

Unit Test Results (setup-python)

     15 files  ±0       15 suites  ±0   46s ⏱️ ±0s
   259 tests ±0     259 ✔️ ±0      0 💤 ±0  0 ±0 
3 885 runs  ±0  3 785 ✔️ ±0  100 💤 ±0  0 ±0 

Results for commit e9870ab. ± Comparison against base commit 043296c.

@EnricoMi EnricoMi merged commit 8056b0a into master Jan 18, 2022
@EnricoMi EnricoMi deleted the branch-many-annotations branch January 18, 2022 22:51
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.

Output the url of the created check run
1 participant