caliper icon indicating copy to clipboard operation
caliper copied to clipboard

github actions when running unit tests are not failing

Open davidkel opened this issue 1 year ago • 2 comments

Some tests which fail when run in 18.x, 20.x, 22.x resulted in the following

image

which shows 18.x failed, but the other 2 reported as succeeded A quick test shows that on 20.x npm run tests --workspaces results in a RC of 1 ($?) if a test fails and RC or 0 if all tests pass so why is github actions thinking it hasn't failed but not for all in the matrix ?

davidkel avatar Nov 21 '24 19:11 davidkel

@davidkel can you explain this issue in little more details? I tried to run this workflow on my fork, it passes for all the matrix Screenshot 2024-12-30 at 2 19 13 AM

Veer0x1 avatar Dec 29 '24 20:12 Veer0x1

@Veer0x1 There was a PR submitted which had failing unit tests. The failures were reported on all 3 unit test runs (ie node 18,20,22) however github only reported the failure on the node 18 run. It should not have shown ticks for the node 20 and node 22 runs. That's the issue.

davidkel avatar Jan 07 '25 12:01 davidkel