]> Sergey Matveev's repositories - btrtrc.git/commitdiff
We need fuse stuff before running unit tests now
authorMatt Joiner <anacrolix@gmail.com>
Wed, 25 Jun 2025 01:21:06 +0000 (11:21 +1000)
committerMatt Joiner <anacrolix@gmail.com>
Thu, 26 Jun 2025 12:51:06 +0000 (22:51 +1000)
.github/workflows/go.yml

index bba6f09c2ac48e435d0ac51a1617f003780b2952..aec41f05e2df78ac36c0ea58954b868d59531077 100644 (file)
@@ -22,6 +22,10 @@ jobs:
         run: |
           cd storage/possum/lib
           cargo build --lib
+      - run: brew install macfuse fuse-t
+        if: matrix.os == 'macos-latest'
+      - run: sudo apt install fuse
+        if: matrix.os == 'ubuntu-latest'
       # Separate to remove downloading spam and possible caching improvement.
       - run: go mod download
       - run: go test -race ./...
@@ -33,7 +37,3 @@ jobs:
         run: GOARCH=386 go test -run @ ./...
       - name: Some packages compile for WebAssembly
         run: GOOS=js GOARCH=wasm go build . ./storage ./tracker/...
-      - run: brew install macfuse pv md5sha1sum bash fuse-t
-        if: matrix.os == 'macos-latest'
-      - run: sudo apt install pv fuse
-        if: matrix.os == 'ubuntu-latest'