Skip the test command in ci for nextgraph

main
Jackson Morgan 3 months ago
parent ce80e19f84
commit 7034d69ea8
  1. 2
      packages/connected-nextgraph/package.json
  2. 6
      packages/connected-nextgraph/test/integration.test.ts

@ -18,7 +18,7 @@
"build": "rimraf dist && npm run build:cjs && npm run build:esm",
"build:cjs": "tsc --project tsconfig.cjs.json",
"build:esm": "tsc --project tsconfig.esm.json",
"test": "npm run test:integration",
"test": "[ \"$CI\" = \"true\" ] && echo 'Skipping integration tests in CI.' || npm run test:integration",
"prepublishOnly": " npm run build",
"lint": "eslint src/** --fix --no-error-on-unmatched-pattern",
"docs": "typedoc --plugin typedoc-plugin-markdown",

@ -13,10 +13,6 @@ import { rm, cp } from "fs/promises";
import path from "path";
import { describe, it, expect, beforeEach, afterAll } from "vitest";
const isCI = process.env.CI === "true";
const describeIfNotCI = isCI ? describe.skip : describe;
const SAMPLE_TTL = `@base <http://example.org/> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@ -33,7 +29,7 @@ const SAMPLE_TTL = `@base <http://example.org/> .
a foaf:Person ;
foaf:name "Spiderman", "Человек-паук"@ru .`;
describeIfNotCI("NextGraph Plugin", () => {
describe("NextGraph Plugin", () => {
let nextgraphLdoDataset: ConnectedLdoDataset<NextGraphConnectedPlugin[]>;
beforeEach(async () => {

Loading…
Cancel
Save