Skip to content

Commit

Permalink
Add go test to CI/CD pipeline
Browse files Browse the repository at this point in the history
Signed-off-by: Noah Stride <[email protected]>
  • Loading branch information
strideynet committed Nov 28, 2024
1 parent f037a83 commit 7e51c8a
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,21 @@ jobs:
- name: Lint
uses: golangci/golangci-lint-action@v6
with:
version: v1.61
version: v1.61
test:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: read
checks: write
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
- name: Run Tests
run: go test -v -race -shuffle=on -coverprofile=coverage.txt ./...

0 comments on commit 7e51c8a

Please sign in to comment.