Fix: make live test describe blocks conditional on RUN env vars (skip when not set)
CI / check (push) Successful in 32s
Gitea Actions Runner Test / test-job (push) Successful in 2s
Gitea Runner Clean Test / test-job (push) Successful in 3s
CI / tests-unit (push) Successful in 1m25s
CI / tests-integration (push) Successful in 1m17s
CI / tests-ui (push) Successful in 2m9s
CI / preflight (push) Skipped
CI / deploy (push) Successful in 2m46s
CI / check (push) Successful in 32s
Gitea Actions Runner Test / test-job (push) Successful in 2s
Gitea Runner Clean Test / test-job (push) Successful in 3s
CI / tests-unit (push) Successful in 1m25s
CI / tests-integration (push) Successful in 1m17s
CI / tests-ui (push) Successful in 2m9s
CI / preflight (push) Skipped
CI / deploy (push) Successful in 2m46s
This commit is contained in:
1 parent
6912669754
commit
acbb833eca
8 files changed
+21
-12
No files matched your search
@@ -13,7 +13,6 @@ import { appendFileSync } from "node:fs";
|
||||
import { beforeAll, describe, expect, it } from "vitest";
|
||||
import { loadEnvForLiveTests } from "@/test/live-env";
|
||||
|
||||
const runLive = process.env.RUN_CATALOG_AUDIT_LIVE === "1";
|
||||
const LOG = "/tmp/catalog-audit-repair.log";
|
||||
const log = (...parts: unknown[]) =>
|
||||
appendFileSync(
|
||||
@@ -23,7 +22,9 @@ const log = (...parts: unknown[]) =>
|
||||
.join(" ")}\n`,
|
||||
);
|
||||
|
||||
describe("catalog audit live repair", () => {
|
||||
describe("catalog audit live repair", {
|
||||
skip: process.env.RUN_CATALOG_AUDIT_LIVE !== "1",
|
||||
}, () => {
|
||||
let runCatalogAudit: typeof import("@/lib/services/catalog-audit").runCatalogAudit;
|
||||
|
||||
beforeAll(async () => {
|
||||
|
||||
Reference in new issue
Block a user