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
|
- name: Build
|
||||||
run: go build -v ./...
|
run: go build -v ./...
|
||||||
|
|
||||||
- name: Integration tests
|
|
||||||
run: |
|
|
||||||
INTEGRATION=1 go test ./... -v
|
|
||||||
|
|
||||||
- name: Unit tests
|
- name: Unit tests
|
||||||
run: |
|
run: |
|
||||||
go test ./... -v -coverprofile coverage.tmp.out -covermode count
|
go test ./... -v -coverprofile coverage.tmp.out -covermode count
|
||||||
go tool cover -func coverage.tmp.out
|
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
|
- name: Quality Gate - Test coverage shall be above threshold
|
||||||
env:
|
env:
|
||||||
TESTCOVERAGE_THRESHOLD: 70
|
TESTCOVERAGE_THRESHOLD: 70
|
||||||
|
Reference in New Issue
Block a user