mirror of https://github.com/muety/wakapi.git
fix: ci tests
This commit is contained in:
parent
746608c062
commit
e8310cfa69
|
@ -22,7 +22,7 @@ jobs:
|
||||||
run: go get
|
run: go get
|
||||||
|
|
||||||
- name: Unit Tests
|
- name: Unit Tests
|
||||||
run: go test ./... -run ./...
|
run: CGO_ENABLED=0 go test `go list ./... | grep -v 'github.com/muety/wakapi/scripts'` -run ./... # skip scripts package, because not actually a package
|
||||||
|
|
||||||
- name: API Tests
|
- name: API Tests
|
||||||
run: |
|
run: |
|
||||||
|
|
|
@ -312,7 +312,7 @@ Unit tests are supposed to test business logic on a fine-grained level. They are
|
||||||
#### How to run
|
#### How to run
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ CGO_ENABLED=0 go test -json -coverprofile=coverage/coverage.out ./... -run ./...
|
$ CGO_ENABLED=0 go test `go list ./... | grep -v 'github.com/muety/wakapi/scripts'` -json -coverprofile=coverage/coverage.out ./... -run ./...
|
||||||
```
|
```
|
||||||
|
|
||||||
### API tests
|
### API tests
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue