Skip to content

support net/http http metrics #234

support net/http http metrics

support net/http http metrics #234

Workflow file for this run

# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
name: GoTest
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
# If you want to matrix build , you can append the following list.
matrix:
go_version:
- 1.21
- 1.22
os:
- ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go_version }}
- name: Build
run: make build
- name: InstUt
run: go test -v ./pkg/... -coverprofile=coverage.txt -covermode=atomic
- name: Coverage
run: bash <(curl -s https://codecov.io/bash)
- name: Test
run: go test -short -timeout 50m -v github.com/alibaba/opentelemetry-go-auto-instrumentation/test