Skip to content

Commit

Permalink
Seperated integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fayeed committed Oct 19, 2023
1 parent 9de2740 commit 2d55a57
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/integration_js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion tests/js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"serve": {
"cache": false
},

"test-main": {},
"test": {
"dependsOn": ["^test"],
"outputs": []
Expand Down

0 comments on commit 2d55a57

Please sign in to comment.