Skip to content

Commit

Permalink
chore: add test coverage workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
inaciogu committed Jan 12, 2024
1 parent 3046b32 commit 2ea240b
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/coverage-report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Update CodeClimate Coverage

on:
pull_request:
branches:
- main

jobs:
coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v4
- name: Install dependencies
run: go get ./...
- name: Build
run: go build -v ./...
- name: Upload coverage to Code Climate
uses: paambaati/codeclimate-action@v5
with:
debug: true
coverageCommand: go test -coverprofile c.out ./...
prefix: github.com/inaciogu/go-sqs-consumer


0 comments on commit 2ea240b

Please sign in to comment.