Add metrics and resource attribute config options from vcentereceiver in docs and tests #543
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: Integration Tests | |
on: | |
# Run tests on main just so the module and build cache can be saved and used | |
# in PRs. This speeds up the time it takes to test PRs dramatically. | |
# (More information on https://docs.github.com/en/[email protected]/actions/using-workflows/caching-dependencies-to-speed-up-workflows) | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
run_tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: "1.21" | |
- name: Set OTEL Exporter Endpoint | |
run: echo "OTEL_EXPORTER_ENDPOINT=http://172.17.0.1:8080" >> $GITHUB_ENV | |
- name: Run tests | |
run: make integration-test |