Skip to content

Commit

Permalink
Enable cgo for testing.
Browse files Browse the repository at this point in the history
The leveldb wrapper library requires cgo to build.
  • Loading branch information
creachadair committed Nov 8, 2021
1 parent d652058 commit 4ff78c8
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/ci.yml
Expand Up @@ -22,12 +22,9 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: test & coverage report creation
run: /bin/true
#run: |
# go test ./... -mod=readonly -timeout 8m -race -coverprofile=coverage.txt -covermode=atomic -tags=memdb,goleveldb,cleveldb,boltdb,rocksdb,badgerdb -v
#- uses: codecov/codecov-action@v2.0.3
# with:
# file: ./coverage.txt
# fail_ci_if_error: true
#
# TODO(creachadair): Temporarily disabled to update CI image.
run: |
CGO_ENABLED=1 go test ./... -mod=readonly -timeout 8m -race -coverprofile=coverage.txt -covermode=atomic -tags=memdb,goleveldb,cleveldb,boltdb,rocksdb,badgerdb -v
- uses: codecov/codecov-action@v2.0.3
with:
file: ./coverage.txt
fail_ci_if_error: true

0 comments on commit 4ff78c8

Please sign in to comment.