Skip to content

Commit

Permalink
chore: skip all tests in git-changed under ecosystem-ci
Browse files Browse the repository at this point in the history
  • Loading branch information
sheremet-va committed May 2, 2024
1 parent 19a21e4 commit b9a411d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/cli/test/git-changed.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -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',
Expand All @@ -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`,
Expand Down

0 comments on commit b9a411d

Please sign in to comment.