From 6da87f0fcfaf77280bfcf8ca88a9878c848750af Mon Sep 17 00:00:00 2001 From: Pion <59523206+pionbot@users.noreply.github.com> Date: Mon, 16 Nov 2020 19:27:08 +0000 Subject: [PATCH] Update CI configs to v0.4.15 Update lint scripts and CI configs. --- .github/workflows/test.yaml | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 6a4cea2..5aae7de 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -21,16 +21,13 @@ jobs: with: go-version: ${{ matrix.go }} - - name: Set test packages - run: echo "TEST_PACKAGES=$(go list ./... | grep -v examples)" >> $GITHUB_ENV - - name: Run test run: | go test \ -coverprofile=cover.out -covermode=atomic \ -bench=. \ ${TEST_EXTRA_ARGS:-} \ - -v -race ${TEST_PACKAGES} + -v -race ./... - uses: codecov/codecov-action@v1 with: @@ -57,9 +54,6 @@ jobs: restore-keys: | ${{ runner.os }}-go- - - name: Set test packages - run: echo "TEST_PACKAGES=$(go list ./... | grep -v examples)" >> $GITHUB_ENV - - name: Run test run: | docker run \ @@ -73,7 +67,7 @@ jobs: i386/golang:${{matrix.go}}-alpine \ /usr/local/go/bin/go test \ ${TEST_EXTRA_ARGS:-} \ - -v ${TEST_PACKAGES} + -v ./... test-wasm: runs-on: ubuntu-latest @@ -95,9 +89,6 @@ jobs: restore-keys: | ${{ runner.os }}-go- - - name: Set test packages - run: echo "TEST_PACKAGES=$(go list ./... | grep -v examples)" >> $GITHUB_ENV - - name: Download Go run: curl -sSfL https://dl.google.com/go/go${GO_VERSION}.linux-amd64.tar.gz | tar -C ~ -xzf - env: @@ -120,7 +111,7 @@ jobs: GOOS=js GOARCH=wasm $GOPATH/bin/go test \ -coverprofile=cover.out -covermode=atomic \ -exec="${GO_JS_WASM_EXEC}" \ - -v ${TEST_PACKAGES} + -v ./... - uses: codecov/codecov-action@v1 with: