Skip to content

Commit 977dc34

Browse files
test: gh actin go test
1 parent 893d314 commit 977dc34

1 file changed

Lines changed: 30 additions & 0 deletions

File tree

.github/workflows/go_test.yaml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Go tests
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- main
7+
- develop
8+
push:
9+
branches:
10+
- main
11+
- develop
12+
13+
jobs:
14+
test:
15+
runs-on: ubuntu-latest
16+
17+
steps:
18+
- name: Checkout repository
19+
uses: actions/checkout@v4
20+
21+
- name: Set up Go
22+
uses: actions/setup-go@v5
23+
with:
24+
go-version: '1.23'
25+
26+
- name: Download dependencies
27+
run: go mod download
28+
29+
- name: Run tests
30+
run: go test $(go list ./... | grep -v pkg/boards | grep -v pkg/broker/topics/message)

0 commit comments

Comments
 (0)