mirror of
https://github.com/getpaseo/paseo.git
synced 2026-07-29 12:01:31 +00:00
test: exclude e2e and integration tests in CI
This commit is contained in:
@@ -72,10 +72,7 @@ async function collectTurnEvents(
|
||||
return result;
|
||||
}
|
||||
|
||||
// Skip integration tests in CI - requires real OpenCode server
|
||||
const shouldSkip = process.env.CI === "true";
|
||||
|
||||
describe.skipIf(shouldSkip)("OpenCodeAgentClient", () => {
|
||||
describe("OpenCodeAgentClient", () => {
|
||||
const buildConfig = (cwd: string): AgentSessionConfig => ({
|
||||
provider: "opencode",
|
||||
cwd,
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
import path from "node:path";
|
||||
import { defineConfig } from "vitest/config";
|
||||
|
||||
const isCI = process.env.CI === "true";
|
||||
|
||||
export default defineConfig({
|
||||
resolve: {
|
||||
alias: {
|
||||
@@ -20,5 +22,9 @@ export default defineConfig({
|
||||
maxForks: 4,
|
||||
},
|
||||
},
|
||||
// Skip e2e and integration tests in CI - they require real agent binaries
|
||||
exclude: isCI
|
||||
? ["**/*.e2e.test.ts", "**/opencode-agent.test.ts", "**/node_modules/**"]
|
||||
: ["**/node_modules/**"],
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user