You've already forked ddns-updater
Update quality-checks.yml
This commit is contained in:
6
.github/workflows/quality-checks.yml
vendored
6
.github/workflows/quality-checks.yml
vendored
@@ -22,19 +22,17 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
version: latest
|
version: latest
|
||||||
tests:
|
tests:
|
||||||
name: Client tests
|
name: Test
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Start testing stack
|
|
||||||
run: docker-compose -f ./docker-compose-ci.yaml up -d
|
|
||||||
- name: Prepare go environment
|
- name: Prepare go environment
|
||||||
uses: actions/setup-go@v4
|
uses: actions/setup-go@v4
|
||||||
with:
|
with:
|
||||||
go-version: '1.20'
|
go-version: '1.20'
|
||||||
cache: false
|
cache: false
|
||||||
- name: Run client tests
|
- 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
|
- name: Coverage check
|
||||||
env:
|
env:
|
||||||
TESTCOVERAGE_THRESHOLD: 0
|
TESTCOVERAGE_THRESHOLD: 0
|
||||||
|
|||||||
Reference in New Issue
Block a user