Skip to content

Commit

Permalink
Debug missing Truffle & Examples coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric Hennenfent committed Aug 10, 2020
1 parent 6be20b7 commit c39f243
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ jobs:
env:
COVERALLS_PARALLEL: true
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
COVERALLS_FLAG_NAME: ${{ matrix.type }}
# Send notification when all tests have finished to combine coverage results
coverage-finish:
needs: tests
Expand Down
3 changes: 3 additions & 0 deletions scripts/run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ run_truffle_tests(){
fi
echo "Truffle test succeded"
coverage xml
coverage report
cd ..
cp truffle_tests/coverage.xml .
return 0
Expand All @@ -118,6 +119,7 @@ run_tests_from_dir() {
pytest --durations=100 --cov=manticore --cov-config=$GITHUB_WORKSPACE/.coveragerc -n auto "tests/$DIR"
RESULT=$?
coverage xml
coverage report
return $RESULT
}

Expand All @@ -135,6 +137,7 @@ run_examples() {
RESULT=$?
echo Ran example scripts
coverage xml
coverage report
popd
cp examples/script/coverage.xml .
return $RESULT
Expand Down

0 comments on commit c39f243

Please sign in to comment.