Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not skip tests in CI #9598

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Do not skip tests in CI #9598

wants to merge 2 commits into from

Conversation

Jarred-Sumner
Copy link
Collaborator

What does this PR do?

We should not be skipping tests in CI.

How did you verify your code works?

CI

Copy link

❌🪟 @Jarred-Sumner, there are 13 test regressions on Windows x86_64

  • test\cli\hot\hot.test.ts
  • test\cli\install\bun-run-bunfig.test.ts
  • test\cli\install\bunx.test.ts
  • test\cli\install\registry\bun-install-registry.test.ts
  • test\js\bun\console\console-iterator.test.ts
  • test\js\bun\glob\scan.test.ts
  • test\js\bun\resolve\resolve.test.ts
  • test\js\node\dns\node-dns.test.js
  • test\js\node\stream\node-stream.test.js
  • test\js\web\fetch\body-stream.test.ts
  • test\js\third_party\nodemailer\nodemailer.test.ts
  • test\js\third_party\postgres\postgres.test.ts
  • test\js\web\workers\worker.test.ts

Full Test Output

import { Pool, Client } from "pg";
import { parse } from "pg-connection-string";
import postgres from "postgres";

const CONNECTION_STRING = process.env.TLS_POSTGRES_DATABASE_URL;

const it = CONNECTION_STRING ? test : test.skip;
const it = CONNECTION_STRING ? test : test.skipIf(!isBunCI);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i agree that ci should run this, but from outside contributors this test will fail as the environment doesnt load. has this been fixed?

import { MongoClient } from "mongodb";

const CONNECTION_STRING = process.env.TLS_MONGODB_DATABASE_URL;

const it = CONNECTION_STRING ? test : test.skip;
const it = CONNECTION_STRING ? test : test.skipIf(!isBunCI);

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Neat way to handle it aliases as test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants