add test-backend to makefile and update readme.

This commit is contained in:
grumbulon 2023-03-07 18:35:21 -05:00
parent f4e5b94f98
commit 20b0bbe6d7
3 changed files with 13 additions and 3 deletions

View File

@ -41,7 +41,7 @@ local testing(version, arch) = {
name: 'test',
image: 'golang:%s' % [version],
commands: [
'go test -v -cover ./...',
'make test-backend',
],
depends_on: [
'cache',

View File

@ -40,3 +40,6 @@ lint-frontend:
lint-backend:
golangci-lint run --timeout=5m --out-format colored-line-number:stdout
test-backend:
go test -v -cover ./internal/api

View File

@ -1,6 +1,6 @@
This will be a website that, to oversimplify things, allows users to submit zonefiles to use [froth.zone nameservers](https://dns.froth.zone/nameservers).
[![Build Status](https://ci.freecumextremist.finance/api/badges/grumbulon/pomme/status.svg)](https://ci.freecumextremist.finance/grumbulon/pomme)
Working project title is pomme.
This will be a website that, to oversimplify things, allows users to submit zonefiles to use [froth.zone nameservers](https://dns.froth.zone/nameservers).
More information to come soon.
@ -15,3 +15,10 @@ to generate and build:
go generate ./...
go build ./cmd/pomme
```
## Testing
To test pomme you can run
```bash
make test-backend
```