diff --git a/LICENCE b/LICENSE similarity index 100% rename from LICENCE rename to LICENSE diff --git a/Makefile b/Makefile index 0bf4d75..6983735 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,3 @@ test: - @go test -race -coverprofile=profile.cov -v $(shell go list ./... | grep -vE 'cmd|mocks|testdata|testutil') + @go test -tags="integration" -race -coverprofile=profile.cov -v $(shell go list ./... | grep -vE 'cmd|mocks|testdata|testutil') @go tool cover -func=profile.cov | grep total diff --git a/README.md b/README.md index 7c759d0..4d54344 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,8 @@ # tx +[![Go Test](https://github.com/aneshas/tx/actions/workflows/test.yml/badge.svg)](https://github.com/aneshas/tx/actions/workflows/test.yml) [![Go Report Card](https://goreportcard.com/badge/github.com/aneshas/tx)](https://goreportcard.com/report/github.com/aneshas/tx) [![Coverage Status](https://coveralls.io/repos/github/aneshas/tx/badge.svg)](https://coveralls.io/github/aneshas/tx) +[![Go Reference](https://pkg.go.dev/badge/github.com/aneshas/tx.svg)](https://pkg.go.dev/github.com/aneshas/tx) Package tx provides a simple transaction abstraction in order to enable decoupling/abstraction of persistence from application/domain logic while still leaving transaction control to the application service.