Merge pull request #482 from aws/remove_iam_user #996
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: Test | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
test: | |
name: Test | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- ubuntu-latest | |
- windows-latest | |
- macos-latest | |
go: | |
- '1.19' | |
- '1.20' | |
- '1' | |
steps: | |
- name: Set up Go ${{ matrix.go }} | |
uses: actions/setup-go@v1 | |
with: | |
go-version: ${{ matrix.go }} | |
- name: Check out code | |
uses: actions/checkout@v2 | |
with: | |
path: src/github.com/aws/aws-xray-sdk-go | |
- name: Test | |
run: make test-with-race | |
shell: bash | |
working-directory: src/github.com/aws/aws-xray-sdk-go | |
benchmark: | |
name: XRay-Go-SDK-Benchmarking | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- ubuntu-latest | |
go: | |
- '1.20' | |
steps: | |
- name: Set up Go ${{ matrix.go }} | |
uses: actions/setup-go@v1 | |
with: | |
go-version: ${{ matrix.go }} | |
id: go | |
- name: Check out code | |
uses: actions/checkout@v2 | |
with: | |
path: src/github.com/aws/aws-xray-sdk-go | |
- name: Benchmark | |
run: go test -v -benchmem -run=^$$ -bench=. ./... | tee benchmark/output.txt | |
shell: bash | |
working-directory: src/github.com/aws/aws-xray-sdk-go |