Skip to content

Commit

Permalink
Convert unit tests to github action
Browse files Browse the repository at this point in the history
Signed-off-by: Derek Nola <[email protected]>
  • Loading branch information
dereknola committed Oct 31, 2023
1 parent 64715ef commit a31fca0
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/unit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Unit Test
on:
push:
branches: [main, master]

pull_request:
branches: [main, master]

permissions:
contents: read

jobs:
unit-test:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- name: Go Unit Tests
run: go test -cover -tags=test ./...

0 comments on commit a31fca0

Please sign in to comment.