Skip to content

Updated 3 hyperlinks in the Readme file #5

Updated 3 hyperlinks in the Readme file

Updated 3 hyperlinks in the Readme file #5

Workflow file for this run

name: octocov
on:
push:
branches:
- main
pull_request:
jobs:
coverage:
runs-on: ubuntu-latest
steps:
- name: Granting private modules access
run: |
git config --global url."https://${{ secrets.engbot_token }}:[email protected]/watchtowerai".insteadOf "https://github.com/watchtowerai"
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version-file: go.mod
- name: Run tests with coverage report output
# can skip packages with external dependencies (e.g. entity with live DB) with a command like
# ```go test $(go list ./... | grep -v entity) -coverprofile=coverage.out```
run: go test $(go list ./... | grep -v /internal/services/entity | grep -v /internal/entities | grep -v /internal/handler | grep -v /internal/services/entity) -coverprofile=coverage.out
env:
GO_ENV: "test"
GOPRIVATE: "github.com/watchtowerai"
- uses: k1LoW/octocov-action@v0