Skip to content

Commit

Permalink
make CI build all example projects
Browse files Browse the repository at this point in the history
  • Loading branch information
Firas Darwish committed Nov 15, 2024
1 parent 382d9fc commit 361ac45
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,13 @@ jobs:
- name: Test
run: go test -v ./...

- name: Build all example projects
run: |
for dir in examples/*/; do
echo "Building project in $dir"
go build -v "$dir" || exit 1
done
- name: Run coverage
run: go test -race -coverprofile=coverage.out -covermode=atomic

Expand Down

0 comments on commit 361ac45

Please sign in to comment.