Skip to content

tests(marketplace): use sdk vcr (go-vcr.v4) for marketplace package #12243

tests(marketplace): use sdk vcr (go-vcr.v4) for marketplace package

tests(marketplace): use sdk vcr (go-vcr.v4) for marketplace package #12243

Workflow file for this run

name: CodeCov Coverage
permissions:
contents: read
on:
push:
pull_request:
merge_group:
jobs:
build:
runs-on: ubuntu-latest
steps:
# Checkout should always be before setup-go to ensure caching is working
- uses: actions/checkout@v5
with:
fetch-depth: 2
- uses: actions/setup-go@v6
with:
go-version: stable
- name: Run coverage
run: go tool gotestsum --format github-actions --junitfile junit.xml -- -coverprofile=coverage.out -covermode=count ./...
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
- name: Upload test results to Codecov
if: ${{ !cancelled() }}
uses: codecov/test-results-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}