Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

check: replace test runner logic with Go's stdlib subtest support #122

Open
wants to merge 11 commits into
base: v1
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 3 additions & 22 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,30 +15,11 @@ jobs:

runs-on: ${{ matrix.os }}
steps:
- uses: actions/setup-go@v2
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '^1.13.0' # Latest 1.x release >= 1.13
- uses: actions/checkout@v2
go-version: '^1.15.0' # Latest 1.x release >= 1.15
- name: Build
run: go build .
- name: Test
run: go test -v ./...

gopath:
runs-on: ubuntu-latest
env:
GOPATH: ${{ github.workspace }}
package: gopkg.in/check.v1
steps:
- uses: actions/setup-go@v2
with:
go-version: '1.9.x'
- uses: actions/checkout@v2
with:
path: src/${{ env.package }}
- name: Dependencies
run: go get -t -d -v ${{ env.package }}/...
- name: Build
run: go build ${{ env.package }}
- name: Test
run: go test -v ${{ env.package }}/...
187 changes: 0 additions & 187 deletions benchmark.go

This file was deleted.

91 changes: 0 additions & 91 deletions benchmark_test.go

This file was deleted.

82 changes: 0 additions & 82 deletions bootstrap_test.go

This file was deleted.

Loading