Skip to content

Commit

Permalink
chore: run tests as CI
Browse files Browse the repository at this point in the history
  • Loading branch information
anirudhsudhir committed Oct 5, 2024
1 parent f9d57a8 commit c98768a
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Tests

on:
push:
pull_request:

defaults:
run:
shell: bash

jobs:
test-and-coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Setup Go
uses: actions/setup-go@v5
with:
go-version-file: "go.mod"

- name: Run Tests
run: go test ./...

- name: Generate Test Coverage
run: go test -cover ./...

0 comments on commit c98768a

Please sign in to comment.