add woodpecker pipelines
This commit is contained in:
@@ -1,13 +0,0 @@
|
||||
import { execSync } from "child_process";
|
||||
import * as path from "path";
|
||||
|
||||
/**
|
||||
* Builds the Rust server before the test suite runs, so the fixture can launch
|
||||
* `target/debug/sustenance` without requiring a manual `cargo build`.
|
||||
*/
|
||||
export default function globalSetup() {
|
||||
execSync("cargo build", {
|
||||
cwd: path.resolve(__dirname, ".."),
|
||||
stdio: "inherit",
|
||||
});
|
||||
}
|
||||
@@ -4,7 +4,6 @@ export default defineConfig({
|
||||
testDir: "./tests",
|
||||
timeout: 30_000,
|
||||
retries: 0,
|
||||
globalSetup: "./global-setup.ts",
|
||||
use: {
|
||||
trace: "on-first-retry",
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user