chore: test go-ipfs-as-a-library against both current and go.mod version
Shu Shen committed
Feb 2, 2022 at 21:15 UTC
fcd3f4963fe3d09793c8148b699a9192063212fc
1 file changed
+4
-1
.circleci/main.yml
+4
-1
@@ -106,7 +106,10 @@ jobs:
106
command: bash <(curl -s https://codecov.io/bash) -cF unittests -X search -f coverage/unit_tests.coverprofile
107
- run:
108
command: |
109
- # we want to test the examples against the current version of go-ipfs
109
+ # we want to first test with the go-ipfs in the go.mod file
110
+ go test -v ./...
111
+
112
+ # we also want to test the examples against the current version of go-ipfs
113
# however, that version might be in a fork so we need to replace the dependency
114
115
# backup the go.mod and go.sum files to restore them after we run the tests