You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* chore: bump jest timeout
We're seeing this timeout triggered in CI.
Signed-off-by: Will Murphy <[email protected]>
* bump timeout in remaining tests
Signed-off-by: Will Murphy <[email protected]>
* chore: only run push tests on main
Otherwise, we'd run tests twice for each PR; once because it was a PR, and once
because someone pushed to a branch.
Signed-off-by: Will Murphy <[email protected]>
* chore: even higher jest timeout
Signed-off-by: Will Murphy <[email protected]>
* chore: install grype ahead of tests
Signed-off-by: Will Murphy <[email protected]>
* chore: comment test timeout
Signed-off-by: Will Murphy <[email protected]>
---------
Signed-off-by: Will Murphy <[email protected]>
Copy file name to clipboardExpand all lines: tests/action_args.test.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@ const { run } = require("../index");
2
2
constcore=require("@actions/core");
3
3
constexec=require("@actions/exec");
4
4
5
-
jest.setTimeout(30000);
5
+
jest.setTimeout(90000);// 90 seconds; tests were timing out in CI. https://github.com/anchore/scan-action/pull/249
jest.setTimeout(90000);// 90 seconds; tests were timing out in CI. https://github.com/anchore/scan-action/pull/249
Copy file name to clipboardExpand all lines: tests/sarif_output.test.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ require("@microsoft/jest-sarif"); // for sarif validation
3
3
constfs=require("fs");
4
4
const{ runScan }=require("../index");
5
5
6
-
jest.setTimeout(30000);
6
+
jest.setTimeout(90000);// 90 seconds; tests were timing out in CI. https://github.com/anchore/scan-action/pull/249
0 commit comments