Skip to content

Fix mnd still existing #243

Fix mnd still existing

Fix mnd still existing #243

Workflow file for this run

name: "Code Coverage"
on:
workflow_call:
secrets:
CODECOV_TOKEN:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # pin@v4
- uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # pin@v5
with:
go-version: '1.23'
check-latest: true
- name: Run test coverage
run: |
if make -n coverage &>/dev/null; then
echo "Running coverage through make"
make coverage
else
echo "No Makefile coverage target, using default behavior"
go test -coverprofile=coverage.out ./...
fi
- uses: codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238 # pin@v4
with:
files: coverage.out
token: ${{ secrets.CODECOV_TOKEN }}