Skip to content

Commit

Permalink
add test to CI for example directory
Browse files Browse the repository at this point in the history
  • Loading branch information
paskal committed May 10, 2024
1 parent 8ac2081 commit 2c1ecf1
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:

- name: build and test
run: |
go test -v -timeout=100s -covermode=count -coverprofile=$GITHUB_WORKSPACE/profile.cov_tmp ./...
go test -v -race -timeout=100s -covermode=atomic -coverprofile=$GITHUB_WORKSPACE/profile.cov_tmp ./...
go build -race ./...
cat $GITHUB_WORKSPACE/profile.cov_tmp | grep -v "mocks" | grep -v "_mock" > $GITHUB_WORKSPACE/profile.cov
env:
Expand All @@ -57,13 +57,6 @@ jobs:
args: --config ../../.golangci.yml
working-directory: _examples/simplechat

- name: golangci-lint on example directory
uses: golangci/golangci-lint-action@v6
with:
version: latest
args: --config ../../.golangci.yml
working-directory: _examples/simplechat

- name: install goveralls
run: go install github.com/mattn/goveralls@latest

Expand Down

0 comments on commit 2c1ecf1

Please sign in to comment.