test: a test framework for verifying upgrade of Zoe and ZCF #15372
Workflow file for this run
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
name: Test Golang | |
on: | |
pull_request: | |
merge_group: | |
push: | |
branches: [master] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
# set ESM_DISABLE_CACHE=true (will be JSON parsed) | |
jobs: | |
gotest: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ./.github/actions/restore-golang | |
with: | |
go-version: '1.20' | |
- name: go test | |
run: cd golang/cosmos && go test -coverprofile=coverage.txt -covermode=atomic ./... | |
- uses: ./.github/actions/post-test | |
if: (success() || failure()) | |
continue-on-error: true | |
timeout-minutes: 4 | |
with: | |
codecov-token: ${{ secrets.CODECOV_TOKEN }} |