Skip to content

chore(SDK example): Add SDK V4 examples #67

chore(SDK example): Add SDK V4 examples

chore(SDK example): Add SDK V4 examples #67

Workflow file for this run

name: Test pipeline
# This workflow is triggered on pushes to the repository.
on:
push:
workflow_call:
jobs:
build:
name: Test & Coverage
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v2
with:
go-version: 1.21
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Run tests
run: |
mkdir -p coverage
go test -v -race `go list ./... | grep -v cmd/feature-experimentation/analyze | grep -v cmd/feature-experimentation/resource` -coverprofile coverage/cover.out.tmp
cat coverage/cover.out.tmp | grep -v "mock_\|cmd/feature-experimentation/analyze" | grep -v "mock_\|cmd/feature-experimentation/resource" > coverage/cover.out
go tool cover -func=coverage/cover.out