-
Notifications
You must be signed in to change notification settings - Fork 369
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: new attempt to fix push to master workflow
- Loading branch information
Showing
1 changed file
with
4 additions
and
6 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 |
---|---|---|
|
@@ -56,14 +56,12 @@ jobs: | |
uses: actions/setup-go@v4 | ||
with: | ||
go-version: ${{ matrix.go-version }} | ||
|
||
|
||
- name: install deps | ||
run: | | ||
go install golang.org/x/tools/cmd/goimports@latest && go install github.com/klauspost/asmfmt/cmd/asmfmt@latest | ||
go install github.com/ethereum/go-ethereum/cmd/[email protected] | ||
- name: install solc deps | ||
if: (${{ matrix.os }} != 'windows-latest') && (${{ matrix.os }} != 'macos-latest') | ||
if: startsWith(matrix.os, 'ubuntu') == true | ||
run: | | ||
go install github.com/consensys/gnark-solidity-checker@latest | ||
sudo add-apt-repository ppa:ethereum/ethereum | ||
|
@@ -77,22 +75,22 @@ jobs: | |
token: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Test (windows / mac) | ||
# on macOS CI / Windows CI we avoid running the std/ tests (they are run on ubuntu CI) | ||
if: (${{ matrix.os }} == 'windows-latest') || (${{ matrix.os }} == 'macos-latest') | ||
if: startsWith(matrix.os, 'ubuntu') == false | ||
run: | | ||
go test -tags=release_checks -v -timeout=60m . | ||
go test -tags=release_checks -v -timeout=60m ./frontend/... | ||
go test -tags=release_checks -v -timeout=60m ./backend/... | ||
go test -short -v -timeout=60m ./... | ||
- name: Test (ubuntu - race and solc) | ||
if: (${{ matrix.os }} != 'windows-latest') && (${{ matrix.os }} != 'macos-latest') | ||
if: startsWith(matrix.os, 'ubuntu') == true | ||
run: | | ||
go test -json -v -timeout=60m -tags=release_checks ./... 2>&1 | gotestfmt -hide=all | tee /tmp/gotest.log | ||
go test -json -v -tags=release_checks,solccheck . 2>&1 | gotestfmt -hide=all | tee -a /tmp/gotest.log | ||
go test -json -v -timeout=60m -race -short ./... 2>&1 | gotestfmt -hide=all | tee -a /tmp/gotest.log | ||
- name: Generate job summary | ||
id: generate-job-summary | ||
if: (${{ matrix.os }} != 'windows-latest') && (${{ matrix.os }} != 'macos-latest') && ${{ always() }} | ||
if: startsWith(matrix.os, 'ubuntu') == true && always() | ||
run: | | ||
if [ -s /tmp/gotest.log ]; then | ||
cat /tmp/gotest.log > $GITHUB_STEP_SUMMARY | ||
|