Skip to content

Commit 8df416a

Browse files
authored
test: skip type check tests in ecosystem-ci (#17587)
1 parent 09f0dc7 commit 8df416a

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

packages/astro/test/cli.test.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ describe('astro cli', () => {
7373
});
7474

7575
it('astro check no errors', {
76+
// type definitions are not generated for ecosystem CI
77+
skip: !!process.env.ECOSYSTEM_CI,
7678
timeout: 35000,
7779
}, async () => {
7880
const projectRootURL = new URL('./fixtures/astro-check-no-errors/', import.meta.url);
@@ -87,6 +89,8 @@ describe('astro cli', () => {
8789
});
8890

8991
it('astro check has errors', {
92+
// type definitions are not generated for ecosystem CI
93+
skip: !!process.env.ECOSYSTEM_CI,
9094
timeout: 35000,
9195
}, async () => {
9296
const projectRootURL = new URL('./fixtures/astro-check-errors/', import.meta.url);

packages/astro/test/content-collections-type-inference.test.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,10 @@ describe('Content collection type inference', () => {
5151
);
5252
});
5353

54-
it('type-checks correctly against the generated types', () => {
54+
it('type-checks correctly against the generated types', {
55+
// type definitions are not generated for ecosystem CI
56+
skip: !!process.env.ECOSYSTEM_CI,
57+
}, () => {
5558
// Run tsc on the fixture to verify the type assertions in src/type-checks.ts
5659
// pass against the real generated content.d.ts.
5760
//

0 commit comments

Comments
 (0)