From b9a411d6384c8a4071010cc3a599f0fd56647637 Mon Sep 17 00:00:00 2001 From: Vladimir Sheremet Date: Thu, 2 May 2024 12:17:28 +0200 Subject: [PATCH] chore: skip all tests in git-changed under ecosystem-ci --- test/cli/test/git-changed.test.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/cli/test/git-changed.test.ts b/test/cli/test/git-changed.test.ts index d63f5dc8a227..b3ef510df88e 100644 --- a/test/cli/test/git-changed.test.ts +++ b/test/cli/test/git-changed.test.ts @@ -34,7 +34,7 @@ describe.skipIf(process.env.ECOSYSTEM_CI)('forceRerunTrigger', () => { }) }) -it('related correctly runs only related tests', async () => { +it.skipIf(process.env.ECOSYSTEM_CI)('related correctly runs only related tests', async () => { const { stdout, stderr } = await runVitest({ related: 'src/sourceA.ts', root: './fixtures/git-changed/related', @@ -49,7 +49,7 @@ it('related correctly runs only related tests', async () => { expect(stdout).not.toContain('not-related.test.ts') }) -it('doesn\'t run any test in a workspace because there are no changes', async () => { +it.skipIf(process.env.ECOSYSTEM_CI)('doesn\'t run any test in a workspace because there are no changes', async () => { const { stdout } = await runVitest({ changed: true, root: './fixtures/git-changed/workspace', @@ -59,7 +59,7 @@ it('doesn\'t run any test in a workspace because there are no changes', async () }) // Fixes #4674 -it('related correctly runs only related tests inside a workspace', async () => { +it.skipIf(process.env.ECOSYSTEM_CI)('related correctly runs only related tests inside a workspace', async () => { editFile( resolvePath(import.meta.url, '../fixtures/git-changed/workspace/packages/packageA/index.js'), content => `${content}\n`,