mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-10 02:05:37 +02:00
Remove the npm test
-command
This command was added all the way back when basic CI-support was first introduced (using Travis at the time), however it's never really intended to be used e.g. for local development. By having a `npm test`-command listed in the `package.json` file, there's a very real risk that someone unfamiliar with the code-base would only run that one and thus miss all the other (more important) test-suites[1]. Hence this patch which removes the `npm test`-command, and instead simply calls the relevant gulp-task[2] directly in the GitHub Actions configuration. --- [1] Which consist of the unit-tests (run in browsers), the font-tests (potentially), the reference-tests, and the integration-tests. [2] Which is also renamed slightly, to better fit its current usage.
This commit is contained in:
parent
ada283cc35
commit
d67d48486c
3 changed files with 3 additions and 4 deletions
|
@ -2348,7 +2348,7 @@ gulp.task("externaltest", function (done) {
|
|||
});
|
||||
|
||||
gulp.task(
|
||||
"npm-test",
|
||||
"ci-test",
|
||||
gulp.series(
|
||||
gulp.parallel("lint", "externaltest", "unittestcli"),
|
||||
"lint-chromium",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue