Skip to content

Commit

Permalink
ci(win): skip goveralls upload on win
Browse files Browse the repository at this point in the history
  • Loading branch information
YOU54F committed Jun 29, 2024
1 parent 12bd576 commit 9bd8cf5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,10 @@ jobs:
if: matrix.os != 'ubuntu-latest'
run: make pact_local
- name: Install goveralls
if: matrix.os != 'windows-latest'
run: go install github.com/mattn/goveralls@latest
- name: Send coverage
if: matrix.os != 'windows-latest'
run: goveralls -coverprofile=coverage.txt -service=github -parallel
- uses: actions/upload-artifact@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ pact: clean install docker
go test -v $(SKIP_RACE) -timeout=30s -tags=provider -count=1 github.com/pact-foundation/pact-go/v2/examples/...
pact_local: clean download_plugins install
@echo "--- 🔨 Running Pact examples"
go test -race -v $(SKIP_RACE) -tags=consumer -count=1 github.com/pact-foundation/pact-go/v2/examples/...
go test -v $(SKIP_RACE) -tags=consumer -count=1 github.com/pact-foundation/pact-go/v2/examples/...
SKIP_PUBLISH=true go test -v $(SKIP_RACE) -timeout=30s -tags=provider -count=1 github.com/pact-foundation/pact-go/v2/examples/...

publish:
Expand Down

0 comments on commit 9bd8cf5

Please sign in to comment.