-
Notifications
You must be signed in to change notification settings - Fork 470
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into add-fdlike-stat
- Loading branch information
Showing
4 changed files
with
18 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -61,22 +61,30 @@ jobs: | |
# Install solc unconditionally because it only takes a second or two | ||
sudo wget -O /usr/bin/solc https://github.com/ethereum/solidity/releases/download/v0.4.24/solc-static-linux | ||
sudo chmod +x /usr/bin/solc | ||
pip install coveralls | ||
pip install -e ".[dev-noks]" | ||
- name: Run Tests | ||
env: | ||
TEST_TYPE: ${{ matrix.type }} | ||
run: | | ||
cp scripts/run_tests.sh . | ||
./run_tests.sh | ||
- name: Coverage Upload | ||
uses: codecov/codecov-action@v1 | ||
- name: Coveralls Parallel | ||
run: | | ||
coveralls | ||
env: | ||
COVERALLS_PARALLEL: true | ||
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} | ||
# Send notification when all tests have finished to combine coverage results | ||
coverage-finish: | ||
needs: tests | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Coveralls Finished | ||
uses: coverallsapp/[email protected] | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
file: ./coverage.xml | ||
yml: ./codecov.yml | ||
# Disabled this line because Codecov has been extra flaky lately, and having to re-run the entire | ||
# test suite until every coverage upload step succeeds is more of a hassle than it's worth. | ||
# fail_ci_if_error: true | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
parallel-finished: true | ||
upload: | ||
runs-on: ubuntu-latest | ||
if: github.event_name == 'schedule' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters