Skip to content

Commit

Permalink
develop
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew-M-C committed Apr 20, 2022
1 parent 1ab9b72 commit 99c4e02
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 37 deletions.
20 changes: 2 additions & 18 deletions .github/workflows/go_1.16_above.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,22 +33,6 @@ jobs:
go-version: ${{ matrix.GO_VER }}
id: go

- name: Get Dependencies
- name: Go test
run: |
echo GO_VER = ${{ matrix.GO_VER }}
go get golang.org/x/tools/cmd/cover
go install github.com/mattn/goveralls@latest
go get .
- name: Show Environments
run: |
echo repo status ======== && git status
echo GITHUB_REF = ${{ env.GITHUB_REF }}
echo GITHUB_REF_NAME = ${{ env.GITHUB_REF_NAME }}
echo GO_VER = ${{ matrix.GO_VER }}
echo HOST_OS = ${{ matrix.HOST_OS }}
which goveralls
- name: Test and Generate Coverage Report
run: |
go test -v -failfast -covermode=atomic -coverprofile=coverage.out
go test -v -failfast -cover -covermode=atomic -coverprofile=coverage.out
20 changes: 2 additions & 18 deletions .github/workflows/go_1.16_before.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,22 +33,6 @@ jobs:
go-version: ${{ matrix.GO_VER }}
id: go

- name: Get Dependencies
- name: Go test
run: |
echo GO_VER = ${{ matrix.GO_VER }}
go get golang.org/x/tools/cmd/cover
go install github.com/mattn/goveralls || go get github.com/mattn/goveralls
go get .
- name: Show Environments
run: |
echo repo status ======== && git status
echo GITHUB_REF = ${{ env.GITHUB_REF }}
echo GITHUB_REF_NAME = ${{ env.GITHUB_REF_NAME }}
echo GO_VER = ${{ matrix.GO_VER }}
echo HOST_OS = ${{ matrix.HOST_OS }}
which goveralls
- name: Test and Generate Coverage Report
run: |
go test -v -failfast -covermode=atomic -coverprofile=coverage.out
go test -v -failfast -cover -covermode=atomic -coverprofile=coverage.out
2 changes: 1 addition & 1 deletion .github/workflows/go_test_general.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
- name: Test and Generate Coverage Report
run: |
go test -v -failfast -covermode=atomic -coverprofile=coverage.out
go test -v -failfast -cover -covermode=atomic -coverprofile=coverage.out
# - name: Upload Coverage to Goveralls
# run: |
Expand Down

0 comments on commit 99c4e02

Please sign in to comment.