File tree Expand file tree Collapse file tree 3 files changed +13
-4
lines changed Expand file tree Collapse file tree 3 files changed +13
-4
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ concurrency:
77 cancel-in-progress : true
88
99jobs :
10-
1110 build :
1211 name : Test MegaLinter runner
1312 # Set the agent to run on
2423 node-version : " 12"
2524 - name : Install dependencies
2625 run : cd mega-linter-runner && yarn install --frozen-lockfile && npm link
27- - name : Run tests
28- run : cd mega-linter-runner && npm run test
26+ - name : Run CLI tests
27+ run : cd mega-linter-runner && npm run test:cli
28+ - name : Run module tests
29+ if : always()
30+ run : cd mega-linter-runner && npm run test:module
31+ - name : Run upgrade tests
32+ if : always()
33+ run : cd mega-linter-runner && npm run test:upgrade
Original file line number Diff line number Diff line change 1515 "mega-linter-runner" : " lib/index.js"
1616 },
1717 "scripts" : {
18- "test" : " mocha \" test/**/*.test.js\" "
18+ "test" : " mocha \" test/**/*.test.js\" " ,
19+ "test:cli" : " mocha test/megalinter-cli.test.js" ,
20+ "test:module" : " mocha test/megalinter-module.test.js" ,
21+ "test:upgrade" : " mocha test/megalinter-upgrade.test.js"
1922 },
2023 "keywords" : [
2124 " mega-linter" ,
Original file line number Diff line number Diff line change @@ -84,6 +84,7 @@ Disabled until find a way to run with default options
8484 release ,
8585 "-e" ,
8686 '"ENABLE=YAML"' ,
87+ "-v" ,
8788 ] ;
8889
8990 it ( "(CLI) run on own code base" , async ( ) => {
You can’t perform that action at this time.
0 commit comments