From cda2caf9bc93a7c44b7e6ebf2b3a7a09aaf2e996 Mon Sep 17 00:00:00 2001 From: Philip Harrison Date: Mon, 26 Jul 2021 16:20:32 +0100 Subject: [PATCH] Stop pulling image in CI --- __tests__/updater-integration.test.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/__tests__/updater-integration.test.ts b/__tests__/updater-integration.test.ts index 1da0fbe..12d0b90 100644 --- a/__tests__/updater-integration.test.ts +++ b/__tests__/updater-integration.test.ts @@ -32,6 +32,10 @@ describe('Updater', () => { const updater = new Updater(UPDATER_IMAGE_NAME, mockAPIClient) beforeAll(async () => { + if (process.env.CI) { + // Skip this test on CI, as it takes too long to download the image + return + } await ImageService.pullImage(UPDATER_IMAGE_NAME) })