test: Add unit test for channel state waiting for first resolver update #3881
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: codecov | |
on: [push, pull_request] | |
permissions: | |
contents: read | |
jobs: | |
upload: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install checkout | |
uses: actions/checkout@v4 | |
- name: Install checkout | |
uses: actions/setup-go@v5 | |
with: | |
go-version: "stable" | |
- name: Run coverage | |
run: go test -coverprofile=coverage.out -coverpkg=./... ./... | |
- name: Run coverage with new pickfirst | |
run: GRPC_EXPERIMENTAL_ENABLE_NEW_PICK_FIRST=true go test -coverprofile=coverage_new_pickfirst.out -coverpkg=./... ./... | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v4 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
fail_ci_if_error: true |