Skip to content

Commit

Permalink
Enable cgo for testing. (#200)
Browse files Browse the repository at this point in the history
The leveldb wrapper library requires cgo to build.
  • Loading branch information
M. J. Fromberger authored Nov 8, 2021
1 parent 451c844 commit 63a566e
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
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/[email protected]
# 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/[email protected]
with:
file: ./coverage.txt
fail_ci_if_error: true

0 comments on commit 63a566e

Please sign in to comment.