We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b2a16dd commit 1b6db97Copy full SHA for 1b6db97
1 file changed
.github/workflows/test.yml
@@ -0,0 +1,34 @@
1
+name: Test and Coverage
2
+
3
+on:
4
+ push:
5
+ branches: [ develop, staging, main ]
6
+ pull_request:
7
8
9
+jobs:
10
+ test:
11
+ runs-on: ubuntu-latest
12
13
+ steps:
14
+ - name: Checkout code
15
+ uses: actions/checkout@v4
16
17
+ - name: Set up Go
18
+ uses: actions/setup-go@v5
19
+ with:
20
+ go-version: '1.23'
21
22
+ - name: Install dependencies
23
+ run: go get .
24
25
+ - name: Build and Test
26
+ run: |
27
+ go build -v ./...
28
+ go test -v -coverprofile=coverage.txt ./...
29
30
+ - name: Upload coverage to Codecov
31
+ uses: codecov/codecov-action@v5
32
33
+ token: ${{ secrets.CODECOV_TOKEN }}
34
+ slug: KengoWada/taskqueue
0 commit comments