Show test output in CI

pull/387/head
cgewecke 5 years ago
parent 35aa892b51
commit d53a44f1c3
  1. 2
      .circleci/config.yml
  2. 5
      package.json

@ -33,7 +33,7 @@ jobs:
- run: - run:
name: Run tests name: Run tests
command: | command: |
npm run test-cov npm run test:ci
- run: - run:
name: Upload coverage name: Upload coverage
command: | command: |

@ -9,10 +9,9 @@
}, },
"scripts": { "scripts": {
"nyc": "SILENT=true nyc --exclude '**/sc_temp/**' --exclude '**/test/**'", "nyc": "SILENT=true nyc --exclude '**/sc_temp/**' --exclude '**/test/**'",
"nyc:ci": "SILENT=true nyc --reporter=lcov --exclude '**/sc_temp/**' --exclude '**/test/**'",
"test": "npm run nyc -- mocha test/units --timeout 70000 --no-warnings --exit", "test": "npm run nyc -- mocha test/units --timeout 70000 --no-warnings --exit",
"test:debug": "mocha test/units --timeout 70000 --no-warnings --exit", "test:ci": "SILENT=true nyc --reporter=lcov --exclude '**/sc_temp/**' --exclude '**/test/**' -- mocha test/units --timeout 70000 --no-warnings --exit",
"test-cov": "npm run nyc:ci -- mocha test/units --timeout 70000 --no-warnings --exit" "test:debug": "mocha test/units --timeout 70000 --no-warnings --exit"
}, },
"homepage": "https://github.com/sc-forks/solidity-coverage", "homepage": "https://github.com/sc-forks/solidity-coverage",
"repository": { "repository": {

Loading…
Cancel
Save