forked from TrueCloudLab/frostfs-http-gw
workflows: enable cgo for coverage test
It's combined with `-race`, so we need cgo there: go test: -race requires cgo; enable cgo by setting CGO_ENABLED=1 make: *** [Makefile:50: cover] Error 2 Signed-off-by: Roman Khimov <roman@nspcc.ru>
This commit is contained in:
parent
9735f567af
commit
3bcd3a6289
1 changed files with 1 additions and 1 deletions
2
.github/workflows/tests.yml
vendored
2
.github/workflows/tests.yml
vendored
|
@ -26,7 +26,7 @@ jobs:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
|
|
||||||
env:
|
env:
|
||||||
CGO_ENABLED: 0
|
CGO_ENABLED: 1
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in a new issue