]> Sergey Matveev's repositories - btrtrc.git/commitdiff
Filter out possum without making it a separate module
authorMatt Joiner <anacrolix@gmail.com>
Tue, 27 Feb 2024 00:16:51 +0000 (11:16 +1100)
committerMatt Joiner <anacrolix@gmail.com>
Tue, 27 Feb 2024 03:50:57 +0000 (14:50 +1100)
.github/workflows/go.yml

index 7f61a51f2f1753a4194c6e24c0ab697a2472ff4f..67e68636e97a513f8d71344ad811028fd571584b 100644 (file)
@@ -30,7 +30,7 @@ jobs:
     steps:
     - uses: actions/checkout@v2
     - uses: ./.github/actions/go-common
-    - run: go test -race -run @ -bench . -benchtime 2x ./...
+    - run: go test -race -run @ -bench . -benchtime 2x $(go list ./... | grep -v /possum)
 
   bench:
     runs-on: ubuntu-latest
@@ -41,7 +41,7 @@ jobs:
     steps:
     - uses: actions/checkout@v2
     - uses: ./.github/actions/go-common
-    - run: go test -run @ -bench . ./...
+    - run: go test -run @ -bench . $(go list ./... | grep -v /possum)
 
   test-386:
     timeout-minutes: 5
@@ -55,7 +55,7 @@ jobs:
     - uses: ./.github/actions/go-common
     - run: GOARCH=386 go test $(go list ./... | grep -v /possum)
       continue-on-error: true
-    - run: GOARCH=386 go test ./... -run @ -bench .
+    - run: GOARCH=386 go test -run @ -bench . $(go list ./... | grep -v /possum)
 
   build-wasm:
     runs-on: ubuntu-latest