mirror of
https://github.com/mariocandela/beelzebub.git
synced 2025-07-01 18:47:26 -04:00
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
@ -28,15 +28,15 @@ jobs:
|
||||
- name: Build
|
||||
run: go build -v ./...
|
||||
|
||||
- name: Integration tests
|
||||
run: |
|
||||
INTEGRATION=1 go test ./... -v
|
||||
|
||||
- name: Unit tests
|
||||
run: |
|
||||
go test ./... -v -coverprofile coverage.tmp.out -covermode count
|
||||
go tool cover -func coverage.tmp.out
|
||||
|
||||
- name: Integration tests
|
||||
run: |
|
||||
INTEGRATION=1 go test ./... -v
|
||||
|
||||
- name: Quality Gate - Test coverage shall be above threshold
|
||||
env:
|
||||
TESTCOVERAGE_THRESHOLD: 70
|
||||
|
Reference in New Issue
Block a user