Skip to content

Improve picker test and rename RPCPlatform tests #67

Improve picker test and rename RPCPlatform tests

Improve picker test and rename RPCPlatform tests #67

Workflow file for this run

name: Build & Test
on: [
push,
pull_request
]
jobs:
build:
runs-on: ubuntu-latest
services:
etcd:
image: gcr.io/etcd-development/etcd:v3.6.5
ports:
- 2379:2379
env:
ETCD_LISTEN_CLIENT_URLS: http://0.0.0.0:2379
ETCD_ADVERTISE_CLIENT_URLS: http://localhost:2379
strategy:
matrix:
go: [
'1.24',
'1.25'
]
steps:
- uses: actions/checkout@v5
- uses: actions/setup-go@v6
with:
go-version: ~${{matrix.go}}
- run: go build ./...
- run: go test -covermode atomic -coverprofile coverage.out -coverpkg ./... ./... || true
env:
ETCD_ADDR: localhost:2379
- run: sed -i '/\/examples\//d' coverage.out
- uses: codecov/codecov-action@v5
with:
token: ${{secrets.CODECOV_TOKEN}}
files: ./coverage.out
flags: go-${{matrix.go}}
disable_search: true