Update quality-checks.yml

This commit is contained in:
mkelcik
2023-04-28 15:22:21 +02:00
parent 5fb30f9769
commit 7de817007d

View File

@@ -22,19 +22,17 @@ jobs:
with:
version: latest
tests:
name: Client tests
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Start testing stack
run: docker-compose -f ./docker-compose-ci.yaml up -d
- name: Prepare go environment
uses: actions/setup-go@v4
with:
go-version: '1.20'
cache: false
- name: Run client tests
run: env TEST_API_HOST=http://localhost:8080 go test --cover -coverprofile coverage.out -covermode count -v ./...
run: go test --cover -coverprofile coverage.out -covermode count -v ./...
- name: Coverage check
env:
TESTCOVERAGE_THRESHOLD: 0