diff --git a/.github/workflows/integration_js.yml b/.github/workflows/integration_js.yml index 37f60aab0..c7139cec4 100644 --- a/.github/workflows/integration_js.yml +++ b/.github/workflows/integration_js.yml @@ -85,6 +85,9 @@ jobs: - name: Run the tests run: yarn test + - name: Run integration tests + run: yarn test-main + # test-windows: # name: JS Ad4mClient <> AD4M Executor - Windows # runs-on: windows-2019 diff --git a/package.json b/package.json index 97b58bb0f..c2119b6c1 100644 --- a/package.json +++ b/package.json @@ -26,6 +26,7 @@ "test:macos": "turbo run test:macos --concurrency=1", "test:linux": "turbo run test:linux --concurrency=1", "test:windows": "turbo run test:windows --concurrency=1", + "test-main": "turbo run test-main", "package-ad4m": "turbo run package-ad4m", "build-languages": "turbo run build-languages --concurrency=1", "docs": "jsdoc -c jsdoc.json", diff --git a/tests/js/package.json b/tests/js/package.json index ea29bade1..087fb3e69 100644 --- a/tests/js/package.json +++ b/tests/js/package.json @@ -4,7 +4,7 @@ "description": "Node.js package that allows the running/interfacing of AD4M Languages & Perspectives.", "type": "module", "scripts": { - "test": "node scripts/cleanTestingData.js && yarn run prepare-test && yarn run test-all && node scripts/cleanTestingData.js", + "test-main": "node scripts/cleanTestingData.js && yarn run prepare-test && yarn run test-all && node scripts/cleanTestingData.js", "test:windows": "yarn run prepare-test:windows && yarn run test-all:windows && node scripts/cleanTestingData.js", "test-all:windows": "node scripts/cleanup.js && yarn run test-simple && node scripts/cleanup.js && yarn run test-app && node scripts/cleanup.js && yarn run test-auth && node scripts/cleanup.js && yarn run test-integration && node scripts/cleanup.js && yarn run test-prolog-and-literals", "test-all": "yarn run test-simple && yarn run test-app && yarn run test-auth && yarn run test-integration && yarn run test-prolog-and-literals", diff --git a/turbo.json b/turbo.json index 7047c342d..d5fbd57bf 100644 --- a/turbo.json +++ b/turbo.json @@ -31,7 +31,7 @@ "serve": { "cache": false }, - + "test-main": {}, "test": { "dependsOn": ["^test"], "outputs": []