mirror of
https://git.freecumextremist.com/grumbulon/pomme.git
synced 2024-11-21 17:23:47 +00:00
add test-backend to makefile and update readme.
This commit is contained in:
parent
f4e5b94f98
commit
20b0bbe6d7
3 changed files with 13 additions and 3 deletions
|
@ -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',
|
||||
|
|
3
Makefile
3
Makefile
|
@ -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
|
||||
|
|
11
README.md
11
README.md
|
@ -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
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue