added v4patch2 upgrade handler (#1057) #5944
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: ci | |
on: | |
push: | |
branches: [ master, release-v4 ] | |
pull_request: | |
branches: [ master, release-v4 ] | |
workflow_dispatch: | |
jobs: | |
ci: | |
strategy: | |
fail-fast: false | |
matrix: | |
ci_step: [ | |
"lint", | |
"test", | |
"integration tests coreum-modules", | |
"integration tests coreum-ibc", | |
"integration tests coreum-upgrade-v4.0.0", | |
] | |
include: | |
- ci_step: "lint" | |
command: make lint | |
codecov: false | |
- ci_step: "test" | |
command: make test | |
codecov: true | |
codecov-name: coreum | |
- ci_step: "integration tests coreum-modules" | |
command: make integration-tests-modules | |
codecov: true | |
codecov-name: coreum-integration-tests-modules | |
- ci_step: "integration tests coreum-ibc" | |
command: make integration-tests-ibc | |
codecov: false | |
- ci_step: "integration tests coreum-upgrade-v4.0.0" | |
command: make integration-tests-upgrade | |
codecov: false | |
runs-on: self-hosted | |
steps: | |
- name: Go version used to build builder | |
run: go version | |
- name: Checkout coreum | |
uses: actions/checkout@v4 | |
with: | |
persist-credentials: false | |
- name: Run ${{ matrix.ci_step }} | |
run: ${{ matrix.command }} | |
- name: Upload coverage reports to Codecov | |
uses: codecov/codecov-action@v3 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
files: ${{ github.workspace }}/coverage/${{ matrix.codecov-name }} | |
flags: ${{ matrix.codecov-name }} | |
fail_ci_if_error: true | |
verbose: true | |
if: ${{ matrix.codecov }} | |
- name: Dump docker logs on failure | |
if: failure() | |
uses: jwalton/gh-docker-logs@v2 |