Skip to content

Commit

Permalink
Add test runner to trigger bug from open-telemetry#1527
Browse files Browse the repository at this point in the history
  • Loading branch information
MrAlias committed Apr 15, 2021
1 parent d616df6 commit 64a862d
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions .github/workflows/test-1527.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: "Validation test for #1527"
on:
push:
branches:
- main
pull_request:
jobs:
compatibility-test:
strategy:
matrix:
go-version: [1.15, 1.14]
os: [macos-latest]
# GitHub Actions does not support arm* architectures on default
# runners. It is possible to acomplish this with a self-hosted runner
# if we want to add this in the future:
# https://docs.github.com/en/actions/hosting-your-own-runners/using-self-hosted-runners-in-a-workflow
arch: ["386", amd64]
exclude:
# Not a supported Go OS/architecture.
- os: macos-latest
arch: "386"
runs-on: ${{ matrix.os }}
steps:
- name: Install Go
uses: actions/setup-go@v2.1.3
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v2
- name: Setup Environment
run: |
echo "GOPATH=$(go env GOPATH)" >> $GITHUB_ENV
echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
shell: bash
- name: Module cache
uses: actions/cache@v2.1.4
env:
cache-name: go-mod-cache
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('**/go.sum') }}
- name: Run test
env:
GOARCH: ${{ matrix.arch }}
run: "cd exporters/otlp/otlpgrpc && go test -v -count=1000 -run=TestNewExporter_collectorConnectionDiesThenReconnects"

0 comments on commit 64a862d

Please sign in to comment.