Skip to content

fix: use code coverage feature from interchaintest 8.5.0 #147

fix: use code coverage feature from interchaintest 8.5.0

fix: use code coverage feature from interchaintest 8.5.0 #147

Workflow file for this run

name: Codecov
on:
push:
branches:
- main
pull_request:
branches:
- main
types: [opened, reopened, synchronize]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: 'stable'
- name: Get heighliner
run: |
wget -c https://github.com/strangelove-ventures/heighliner/releases/download/v1.5.4/heighliner_1.5.4_linux_amd64.tar.gz -O - | tar -xz heighliner
mv heighliner /usr/local/bin
- name: Make local image
run: make local-image
- name: Run coverage
run: make coverage
- name: Upload coverage to Codecov
uses: codecov/[email protected]
with:
file: coverage-filtered.out
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}