Skip to content

Commit 691302a

Browse files
committed
cosign install
Signed-off-by: CrazyMax <[email protected]>
1 parent 76189d3 commit 691302a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

__tests__/cosign/install.test.itg.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ import * as fs from 'fs';
1919

2020
import {Install} from '../../src/cosign/install';
2121

22+
const maybe = !process.env.GITHUB_ACTIONS || (process.env.GITHUB_ACTIONS === 'true' && process.env.ImageOS && process.env.ImageOS.startsWith('ubuntu')) ? describe : describe.skip;
23+
2224
describe('download', () => {
2325
// prettier-ignore
2426
test.each(['latest'])(
@@ -37,12 +39,12 @@ describe('download', () => {
3739
}, 60000);
3840
});
3941

40-
describe('build', () => {
42+
maybe('build', () => {
4143
it('builds refs/pull/4492/head', async () => {
4244
const install = new Install();
4345
const toolPath = await install.build('https://github.com/sigstore/cosign.git#refs/pull/4492/head');
4446
expect(fs.existsSync(toolPath)).toBe(true);
4547
const buildxBin = await install.install(toolPath);
4648
expect(fs.existsSync(buildxBin)).toBe(true);
47-
}, 100000);
49+
}, 500000);
4850
});

0 commit comments

Comments
 (0)