BGP: Fix IPv4 listen addr configuration #693
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
on: [push, pull_request] | |
name: tests | |
jobs: | |
test: | |
strategy: | |
matrix: | |
go-version: [1.20.x] | |
platform: [ubuntu-latest] | |
runs-on: ${{ matrix.platform }} | |
steps: | |
- name: Install Go | |
uses: actions/setup-go@v1 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Check format (gofmt) | |
run: .github/check-gofmt.sh | |
- name: Test | |
run: go test -v -cover -coverprofile=coverage.txt ./... | |
# Upload Coverage Report | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v1 | |
with: | |
file: ./coverage.txt | |
flags: unittests | |
name: codecov-${{ matrix.platform }}-${{ matrix.go-version }} | |
fail_ci_if_error: true | |
- name: Build examples | |
run: scripts/build_examples.sh |