Skip to content

Commit

Permalink
ci: fix ubuntu ref
Browse files Browse the repository at this point in the history
  • Loading branch information
gbotrel committed Oct 12, 2023
1 parent 61b5e9c commit 391676e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,22 +77,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 != 'ubuntu-latest'
if: matrix.os != 'ubuntu-22.04-16core'
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 == 'ubuntu-latest'
if: matrix.os == 'ubuntu-22.04-16core'
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 == 'ubuntu-latest' && ${{ always() }}
if: matrix.os == 'ubuntu-22.04-16core' && ${{ always() }}
run: |
if [ -s /tmp/gotest.log ]; then
cat /tmp/gotest.log > $GITHUB_STEP_SUMMARY
Expand All @@ -103,7 +103,7 @@ jobs:
fi
# if we failed a test, we want to comment on the PR with the log
- name: PR comment with file
if: matrix.os == 'ubuntu-latest' && ${{ failure() }}
if: matrix.os == 'ubuntu-22.04-16core' && ${{ failure() }}
uses: thollander/actions-comment-pull-request@v2
with:
filePath: /tmp/gotest.log
Expand Down

0 comments on commit 391676e

Please sign in to comment.