Skip to content

Commit a60c924

Browse files
committed
Commit Github workflow for testing the package
1 parent e37eb39 commit a60c924

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/test.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# .github/workflows/test.yaml
2+
on: [push, pull_request]
3+
name: test
4+
jobs:
5+
test:
6+
strategy:
7+
matrix:
8+
go-version: [1.18.x, 1.19.x]
9+
os: [ubuntu-latest]
10+
runs-on: ${{ matrix.os }}
11+
steps:
12+
- uses: actions/setup-go@v3
13+
with:
14+
go-version: ${{ matrix.go-version }}
15+
- uses: actions/checkout@v3
16+
- run: make test_cover
17+
- name: Upload coverage to Codecov
18+
uses: codecov/codecov-action@v3

0 commit comments

Comments
 (0)