Skip to content

Commit b6653ed

Browse files
committed
attempt running tav in parallel
1 parent 47355ec commit b6653ed

File tree

33 files changed

+3317
-103
lines changed

33 files changed

+3317
-103
lines changed

package-lock.json

Lines changed: 3198 additions & 28 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
"test:ci:affected": "nx affected -t test --base=origin/main --head=HEAD",
2121
"test:browser": "nx run-many -t test:browser",
2222
"test:browser:ci:affected": "nx affected -t test:browser --base=origin/main --head=HEAD",
23-
"test-all-versions": "nx run-many --parallel=false -t test-all-versions",
24-
"test-all-versions:ci:affected": "nx affected --parallel=false -t test-all-versions --base=origin/main --head=HEAD",
23+
"test-all-versions": "nx run-many -t test-all-versions",
24+
"test-all-versions:ci:affected": "nx affected -t test-all-versions --base=origin/main --head=HEAD",
2525
"test-merge-coverage:ci:affected": "nx affected -t test-merge-coverage --base=origin/main --head=HEAD",
2626
"test-services:start": "docker compose -f ./test/docker-compose.yaml up -d --wait",
2727
"test-services:stop": "docker compose -f ./test/docker-compose.yaml down",
@@ -65,9 +65,11 @@
6565
"markdownlint-cli2": "0.13.0",
6666
"minimatch": "^9.0.3",
6767
"mocha": "^11.0.0",
68+
"npm-package-arg": "^13.0.0",
6869
"prettier": "2.8.8",
6970
"process": "0.11.10",
7071
"semver": "^7.6.0",
72+
"test-all-versions": "^6.0.0",
7173
"ts-node": "10.9.2",
7274
"typescript": "5.0.4",
7375
"util": "0.12.5"

packages/instrumentation-amqplib/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"tdd": "npm run test -- --watch-extensions ts --watch",
4141
"test": "nyc --no-clean mocha --require '@opentelemetry/contrib-test-utils' 'test/**/*.test.ts'",
4242
"test:with-services-env": "cross-env NODE_OPTIONS='-r dotenv/config' DOTENV_CONFIG_PATH=../../test/test-services.env npm test",
43-
"test-all-versions": "tav",
43+
"test-all-versions": "../../test-all-versions.js",
4444
"test-all-versions:with-services-env": "cross-env NODE_OPTIONS='-r dotenv/config' DOTENV_CONFIG_PATH=../../test/test-services.env npm run test-all-versions",
4545
"test-merge-coverage": "nyc merge .nyc_output coverage/coverage-final.json",
4646
"test-services:start": "cd ../.. && npm run test-services:start rabbitmq",

packages/instrumentation-aws-sdk/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"prepublishOnly": "npm run compile",
4141
"tdd": "npm run test -- --watch-extensions ts --watch",
4242
"test": "nyc mocha --require '@opentelemetry/contrib-test-utils' 'test/**/*.test.ts'",
43-
"test-all-versions": "tav",
43+
"test-all-versions": "../../test-all-versions.js",
4444
"version:update": "node ../../scripts/version-update.js",
4545
"watch": "tsc -w"
4646
},

packages/instrumentation-bunyan/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"prepublishOnly": "npm run compile",
1919
"tdd": "npm run test -- --watch-extensions ts --watch",
2020
"test": "nyc --no-clean mocha 'test/**/*.test.ts'",
21-
"test-all-versions": "tav",
21+
"test-all-versions": "../../test-all-versions.js",
2222
"test-merge-coverage": "nyc merge .nyc_output coverage/coverage-final.json",
2323
"version:update": "node ../../scripts/version-update.js"
2424
},

packages/instrumentation-cucumber/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
},
1212
"scripts": {
1313
"test": "nyc mocha 'test/**/*.test.ts'",
14-
"test-all-versions": "tav",
14+
"test-all-versions": "../../test-all-versions.js",
1515
"tdd": "npm run test -- --watch-extensions ts --watch",
1616
"clean": "rimraf build/*",
1717
"lint": "eslint . --ext .ts",

packages/instrumentation-dataloader/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"prepublishOnly": "npm run compile",
1919
"tdd": "npm run test -- --watch-extensions ts --watch",
2020
"test": "nyc --no-clean mocha 'test/**/*.test.ts'",
21-
"test-all-versions": "tav",
21+
"test-all-versions": "../../test-all-versions.js",
2222
"test-merge-coverage": "nyc merge .nyc_output coverage/coverage-final.json",
2323
"version:update": "node ../../scripts/version-update.js"
2424
},

packages/instrumentation-express/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"prepublishOnly": "npm run compile",
2020
"tdd": "yarn test -- --watch-extensions ts --watch",
2121
"test": "nyc --no-clean mocha 'test/**/*.test.ts'",
22-
"test-all-versions": "tav",
22+
"test-all-versions": "../../test-all-versions.js",
2323
"test-merge-coverage": "nyc merge .nyc_output coverage/coverage-final.json",
2424
"version:update": "node ../../scripts/version-update.js",
2525
"watch": "tsc -w"

packages/instrumentation-fastify/.tav.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
include: "^4.0.0"
44
mode: max-7
55
commands: npm run test
6+
peerDependencies: "@fastify/[email protected]"
67
- versions:
78
include: ">=5 <6"
89
mode: max-7

packages/instrumentation-fastify/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"lint:readme": "node ../../scripts/lint-readme.js",
1919
"prepublishOnly": "npm run compile",
2020
"test": "nyc --no-clean mocha 'test/**/*.test.ts'",
21-
"test-all-versions": "tav",
21+
"test-all-versions": "../../test-all-versions.js",
2222
"test-merge-coverage": "nyc merge .nyc_output coverage/coverage-final.json",
2323
"version:update": "node ../../scripts/version-update.js",
2424
"watch": "tsc -w"

0 commit comments

Comments
 (0)