Skip to content

Commit

Permalink
skip protocol tests in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
jthrilly committed Nov 1, 2024
1 parent e349d75 commit d73e725
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/__tests__/test-protocols.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@ const extractAndValidate = async (protocolPath: string) => {
return await validateProtocol(protocol, schemaVersion);
};

if (process.env.CI) {
console.log("Running in CI, skipping protocol tests");
process.exit(0);
}

const PROTOCOL_PATH = "../../test-protocols";
const protocols = readdirSync(join(__dirname, PROTOCOL_PATH)).filter((file) =>
file.endsWith(".netcanvas"),
Expand Down

0 comments on commit d73e725

Please sign in to comment.