Uninett / nav

Network Administration Visualized
GNU General Public License v3.0
175 stars 37 forks source link

Fail a test on purpose for workflow testing #2920

Closed lunkwill42 closed 1 month ago

lunkwill42 commented 1 month ago

First attempt: Deliberately fail a test. Draft PR against latest master, from personal fork. No test results published...

lunkwill42 commented 1 month ago

Second attempt: Rebased on an older commit that does not include #2914. Still no test results published.

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 60.25%. Comparing base (513c0e4) to head (75811f6). Report is 2 commits behind head on master.

:exclamation: Current head 75811f6 differs from pull request most recent head e7f5c59. Consider uploading reports for the commit e7f5c59 to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #2920 +/- ## ======================================= Coverage 60.25% 60.25% ======================================= Files 602 602 Lines 44084 44084 ======================================= Hits 26565 26565 Misses 17519 17519 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

johannaengland commented 1 month ago

For another PR that isn't a draft my tests failed as well (after having succeeded before and test results being posted) and the test result comment was not updated. So it looks like the test results are not posted/updated no matter where the PR is/if it is draft or not, as long as the tests fail.

lunkwill42 commented 1 month ago

Third attempt: Rebased back to current master. Fixed failing test. Now there is a CodeCov report, but still no test result published.

lunkwill42 commented 1 month ago

Fourth attempt: Reset to initial conditions of first attempt, but move the PR out of draft mode. Still no test results published.

lunkwill42 commented 1 month ago

Fourth attempt: Revert back to draft mode. Revert ignore rule for master branch in the publish workflows. Still no test results published

lunkwill42 commented 1 month ago

tests are completed, closing