@cryptotaxi247 / kubo / commits / d02e4aa84

CI: force running go-ipfs-http-client and go-ipfs-api tests

This test is actually testing is the ipfs binary (from the path). Using the go-ipfs-http-client code. But most PR only update the binary. HOWEVER Golang does not check PATH for caching. So as far as golang knows: go-ipfs-http-client is old, it havn't changed, and it doesn't run it. That leads us to this test not running on most important PR.

Jorropo committed Mar 24, 2022 at 16:07 UTC d02e4aa841e1271362b70c2318b15f6943cc6d1e
1 file changed +3 -3
.circleci/main.yml
+3 -3
@@ -292,7 +292,7 @@ jobs:
292 - v1-go-api-{{ checksum "~/ipfs/go-ipfs/go-ipfs-api/go.sum" }}
293 - v1-go-api-
294 - run:
295 - command: go test -v ./...
295 + command: go test -count=1 -v ./...
296 working_directory: ~/ipfs/go-ipfs/go-ipfs-api
297 - save_cache:
298 key: v1-go-api-{{ checksum "~/ipfs/go-ipfs/go-ipfs-api/go.sum" }}
@@ -318,10 +318,10 @@ jobs:
318 - v1-http-client-{{ checksum "~/ipfs/go-ipfs/go-ipfs-http-client/go.sum" }}
319 - v1-http-client-
320 - run:
321 - name: go test -v ./...
321 + name: go test -count=1 -v ./...
322 command: |
323 export PATH=/tmp/circleci-workspace/bin:$PATH
324 - go test -v ./...
324 + go test -count=1 -v ./...
325 working_directory: ~/ipfs/go-ipfs/go-ipfs-http-client
326 - save_cache:
327 key: v1-http-client-{{ checksum "~/ipfs/go-ipfs/go-ipfs-http-client/go.sum" }}