Disable go test in CI (#113)

zerocopy-examples
Tetsuo Kiso 2021-11-08 02:19:20 +09:00 committed by GitHub
parent a621cd4bb0
commit 233e2c82a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 4 deletions

View File

@ -23,10 +23,9 @@ jobs:
run: sudo apt-get update && sudo apt-get install -y fuse3 libfuse-dev
- name: Build
run: go build ./...
# Exclude TestPosix and TestMemFS because some of the tests hung indefinitely.
# Also, tests need to be run sequentially to avoid hanging indefinitely.
- name: Run tests
run: go test -v -p 1 -bench=. -run="TestSuccessfulMount|TestNonexistentMountPoint|TestCachingFS|TestDynamicFS|TestErrorFS|TestFlushFS|TestForgetFS|TestHelloFS|TestInterruptFS|TestReadonlyLoopbackFS|TestStatFS" ./...
# Disabled running `go test` because running tests hung at random,
# preventing us from running the tests in CI reliably.
# (cf. https://github.com/jacobsa/fuse/issues/97)
macos-build:
runs-on: macos-latest