Skip to content

Commit b9a411d

Browse files
committed
chore: skip all tests in git-changed under ecosystem-ci
1 parent 19a21e4 commit b9a411d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/cli/test/git-changed.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ describe.skipIf(process.env.ECOSYSTEM_CI)('forceRerunTrigger', () => {
3434
})
3535
})
3636

37-
it('related correctly runs only related tests', async () => {
37+
it.skipIf(process.env.ECOSYSTEM_CI)('related correctly runs only related tests', async () => {
3838
const { stdout, stderr } = await runVitest({
3939
related: 'src/sourceA.ts',
4040
root: './fixtures/git-changed/related',
@@ -49,7 +49,7 @@ it('related correctly runs only related tests', async () => {
4949
expect(stdout).not.toContain('not-related.test.ts')
5050
})
5151

52-
it('doesn\'t run any test in a workspace because there are no changes', async () => {
52+
it.skipIf(process.env.ECOSYSTEM_CI)('doesn\'t run any test in a workspace because there are no changes', async () => {
5353
const { stdout } = await runVitest({
5454
changed: true,
5555
root: './fixtures/git-changed/workspace',
@@ -59,7 +59,7 @@ it('doesn\'t run any test in a workspace because there are no changes', async ()
5959
})
6060

6161
// Fixes #4674
62-
it('related correctly runs only related tests inside a workspace', async () => {
62+
it.skipIf(process.env.ECOSYSTEM_CI)('related correctly runs only related tests inside a workspace', async () => {
6363
editFile(
6464
resolvePath(import.meta.url, '../fixtures/git-changed/workspace/packages/packageA/index.js'),
6565
content => `${content}\n`,

0 commit comments

Comments
 (0)