Skip to content

test: more cli validation and tests (#46) #61

test: more cli validation and tests (#46)

test: more cli validation and tests (#46) #61

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/codecov-action@v4-beta
with:
file: coverage-filtered.out
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}