Skip to content

Commit

Permalink
Run the test suite with the Go tip version as well
Browse files Browse the repository at this point in the history
  • Loading branch information
na-- committed Apr 16, 2021
1 parent ab62876 commit 3ff9787
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,32 @@ jobs:
fi
go test "${args[@]}" -timeout 800s ./...
test-tip:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: 1.x
- name: Install Go tip
run: |
go install golang.org/dl/gotip@latest
gotip download
echo "GOROOT=$HOME/sdk/gotip" >> "$GITHUB_ENV"
echo "GOPATH=$HOME/go" >> "$GITHUB_ENV"
echo "$HOME/go/bin" >> "$GITHUB_PATH"
echo "$HOME/sdk/gotip/bin" >> "$GITHUB_PATH"
- name: Run tests
run: |
set -x
which go
go version
export GOMAXPROCS=2
args=("-p" "2" "-race")
go test "${args[@]}" -timeout 800s ./...
test-cov:
strategy:
matrix:
Expand Down

0 comments on commit 3ff9787

Please sign in to comment.