Skip to content

Commit

Permalink
Add Github Actions to test the package
Browse files Browse the repository at this point in the history
  • Loading branch information
dnaeon committed Apr 21, 2024
1 parent ac6e0d6 commit ffe1a95
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
github: [dnaeon]
18 changes: 18 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# .github/workflows/test.yaml
on: [push, pull_request]
name: test
jobs:
test:
strategy:
matrix:
go-version: [1.21.x, 1.22.x]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
- uses: actions/checkout@v3
- run: make test-cover
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3

0 comments on commit ffe1a95

Please sign in to comment.