fix: ci tests

This commit is contained in:
Ferdinand Mütsch 2023-01-02 18:18:58 +01:00
parent 746608c062
commit e8310cfa69
3 changed files with 752 additions and 743 deletions

View File

@ -22,7 +22,7 @@ jobs:
run: go get
- 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
run: |

View File

@ -312,7 +312,7 @@ Unit tests are supposed to test business logic on a fine-grained level. They are
#### How to run
```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

File diff suppressed because it is too large Load Diff