Skip to content

Commit

Permalink
Move .coverage files directly
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric Hennenfent committed Aug 10, 2020
1 parent eea716d commit 60620cb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,7 @@ jobs:
./run_tests.sh
- name: Coveralls Parallel
run: |
coveralls debug
coveralls --merge coverage.json
coveralls
env:
COVERALLS_PARALLEL: true
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
Expand Down
10 changes: 2 additions & 8 deletions scripts/run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -105,10 +105,8 @@ run_truffle_tests(){
return 1
fi
echo "Truffle test succeded"
coverage json
coverage report
cd ..
cp truffle_tests/coverage.json .
cp truffle_tests/.coverage .
return 0
}

Expand All @@ -118,8 +116,6 @@ run_tests_from_dir() {
echo "Running only the tests from 'tests/$DIR' directory"
pytest --durations=100 --cov=manticore --cov-config=$GITHUB_WORKSPACE/.coveragerc -n auto "tests/$DIR"
RESULT=$?
coverage json
coverage report
return $RESULT
}

Expand All @@ -136,10 +132,8 @@ run_examples() {
launch_examples
RESULT=$?
echo Ran example scripts
coverage json
coverage report
popd
cp examples/script/coverage.json .
cp examples/script/.coverage .
return $RESULT
}

Expand Down

0 comments on commit 60620cb

Please sign in to comment.