Skip to content

Commit

Permalink
test coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
superstes committed Oct 1, 2023
1 parent 51d67a4 commit 3ed8f3b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,12 @@ jobs:
cd lib/
go test -v ./...
shell: bash

- name: Run coverage
run: |
cd lib/
go test ./... -race -coverprofile=coverage.out -covermode=atomic
shell: bash

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[![Unit Tests](https://github.com/superstes/calamary/actions/workflows/test.yml/badge.svg?branch=latest)](https://github.com/superstes/calamary/actions/workflows/test.yml)
[![Test Coverage](https://codecov.io/gh/superstes/calamary/graph/badge.svg?token=UD4TM8N256)](https://codecov.io/gh/superstes/calamary)
[![Lint](https://github.com/superstes/calamary/actions/workflows/lint.yml/badge.svg?branch=latest)](https://github.com/superstes/calamary/actions/workflows/lint.yml)
[![Docs](https://readthedocs.org/projects/calamary/badge/?version=latest)](https://docs.calamary.net/en/latest/?badge=latest)
[![Documentation](https://readthedocs.org/projects/calamary/badge/?version=latest)](https://docs.calamary.net/en/latest/?badge=latest)

# Calamary - Forwarding- & Filtering-Proxy

Expand Down

0 comments on commit 3ed8f3b

Please sign in to comment.