mirror of
https://github.com/muety/wakapi.git
synced 2023-08-10 21:12:56 +03:00
fix: ci tests
This commit is contained in:
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -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
Reference in New Issue
Block a user