File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,8 @@ import * as fs from 'fs';
1919
2020import { 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+
2224describe ( '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} ) ;
You can’t perform that action at this time.
0 commit comments