build(deps): bump go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc from 0.29.0 to 0.46.0 in /tools/dockerfile-add-scanner #9
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: Unit tests | |
on: # yamllint disable-line rule:truthy | |
push: | |
branches: | |
- "master" | |
- "[0-9]+.[0-9]+" | |
- "[0-9]+.[0-9]+-stable" | |
pull_request: | |
branches: | |
- "master" | |
- "[0-9]+.[0-9]+" | |
- "[0-9]+.[0-9]+-stable" | |
jobs: | |
test: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.event.pull_request.head.sha }} | |
- name: Test | |
run: | | |
make test | |
- name : Test (TPM Required) | |
run: | | |
bash tools/tpm-tests-on-qemu.sh | |
- name: Report test results as Annotations | |
if: ${{ always() }} | |
uses: guyarb/[email protected] | |
with: | |
test-results: dist/amd64/results.json | |
- name: Store raw test results | |
if: ${{ always() }} | |
uses: actions/upload-artifact@v3 | |
with: | |
name: 'test-report' | |
path: ${{ github.workspace }}/dist | |
- name: Get code coverage | |
uses: codecov/codecov-action@v3 |