Show test output in CI

truffle-plugin
cgewecke 5 years ago
parent 8c7b2f7c65
commit 18df4dd3ec
  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