mirror of
https://github.com/retailcrm/api-client-go.git
synced 2025-03-24 08:43:50 +03:00
fix ci
This commit is contained in:
parent
634ec386b1
commit
92a5741c84
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@ -61,14 +61,14 @@ jobs:
|
|||||||
if: env.COVERAGE != 1
|
if: env.COVERAGE != 1
|
||||||
run: |
|
run: |
|
||||||
go install gotest.tools/gotestsum@latest
|
go install gotest.tools/gotestsum@latest
|
||||||
gotestsum --format testdox ./... -tags=testutils-v -cpu 2 -timeout 60s -race
|
gotestsum --format testdox ./... -tags=testutils -v -cpu 2 -timeout 60s -race
|
||||||
- name: Tests with coverage
|
- name: Tests with coverage
|
||||||
env:
|
env:
|
||||||
COVERAGE: ${{ matrix.coverage }}
|
COVERAGE: ${{ matrix.coverage }}
|
||||||
if: env.COVERAGE == 1
|
if: env.COVERAGE == 1
|
||||||
run: |
|
run: |
|
||||||
go install gotest.tools/gotestsum@latest
|
go install gotest.tools/gotestsum@latest
|
||||||
gotestsum --format testdox ./... -tags=testutils-v -cpu 2 -timeout 60s -race -cover -coverprofile=coverage.txt -covermode=atomic "$d"
|
gotestsum --format testdox ./... -tags=testutils -v -cpu 2 -timeout 60s -race -cover -coverprofile=coverage.txt -covermode=atomic "$d"
|
||||||
- name: Coverage
|
- name: Coverage
|
||||||
env:
|
env:
|
||||||
COVERAGE: ${{ matrix.coverage }}
|
COVERAGE: ${{ matrix.coverage }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user