Skip to content

Commit a40ba28

Browse files
committed
Temporarily only run unit tests while beta work in progress
1 parent 79fd6e0 commit a40ba28

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,21 +28,21 @@ jobs:
2828

2929
# Run the tests
3030
- name: Run Tap tests
31-
run: node . run tap -- "test/tap/*.js" -t600 -Rclassic -c
31+
run: node . test -- -t600 -Rclassic -c
3232
env:
3333
DEPLOY_VERSION: testing
3434

3535
# Run coverage check
3636
- name: Run coverage report
3737
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '12.x'
38-
run: node . run tap -- "test/tap/*.js" -t600 -Rclassic -c
38+
run: node . test -- -t600 -Rclassic -c
3939
env:
4040
DEPLOY_VERSION: testing
4141
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_OPTIONAL_TOKEN }}
4242

4343
# - name: Run sudo tests on Linux
4444
# if: matrix.os == 'ubuntu-latest'
45-
# run: sudo PATH=$PATH $(which node) . run tap -- "test/tap/*.js" --coverage --timeout 600
45+
# run: sudo PATH=$PATH $(which node) . test -- --coverage --timeout 600
4646

4747
- name: Lint
4848
run: node . run lint

package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -292,21 +292,21 @@
292292
"prepare": "node bin/npm-cli.js rebuild && node bin/npm-cli.js --no-audit --no-timing prune --prefix=. --no-global && rimraf test/*/*/node_modules && make -j4 mandocs",
293293
"preversion": "bash scripts/update-authors.sh && git add AUTHORS && git commit -m \"update AUTHORS\" || true",
294294
"licenses": "licensee --production --errors-only",
295-
"tap": "tap",
296-
"tap-cover": "tap -J --nyc-arg=--cache --coverage --timeout 600 --no-esm",
297-
"test": "npm run test-tap --",
295+
"test": "tap",
298296
"snap": "tap",
299297
"test:nocleanup": "NO_TEST_CLEANUP=1 npm run test --",
300-
"sudotest": "sudo npm run tap -- \"test/tap/*.js\"",
301-
"sudotest:nocleanup": "sudo NO_TEST_CLEANUP=1 npm run tap -- \"test/tap/*.js\"",
298+
"sudotest": "sudo npm run test --",
299+
"sudotest:nocleanup": "sudo NO_TEST_CLEANUP=1 npm run test --",
302300
"posttest": "npm run lint",
303301
"lint": "standard",
304-
"prelint": "rimraf test/npm_cache*",
305-
"test-coverage": "npm run tap-cover -- \"test/tap/*.js\" \"test/network/*.js\"",
306-
"test-tap": "npm run tap -- \"test/tap/*.js\" \"test/network/*.js\"",
307-
"test-node": "tap --timeout 240 \"test/tap/*.js\" \"test/network/*.js\""
302+
"prelint": "rimraf test/npm_cache*"
308303
},
309304
"tap": {
305+
"//": [
306+
"XXX temporarily only run unit tests while v7 beta is in progress",
307+
"Remove the 'files' below once we're done porting old tests over"
308+
],
309+
"files": "test/lib",
310310
"coverage-map": "test/coverage-map.js",
311311
"esm": false,
312312
"timeout": 600

0 commit comments

Comments
 (0)