feat: Add Coverage Report

This commit is contained in:
Parham Alvani
2021-06-06 17:23:54 +04:30
parent 3e5d1960d6
commit 19a020671b

View File

@@ -10,4 +10,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
- run: docker-compose up -d
- run: go test ./...
- run: go test -v ./... -covermode=atomic -coverprofile=coverage.out
- uses: codecov/codecov-action@v1
with:
files: coverage.out