jobs:
test:
- timeout-minutes: 30
+ timeout-minutes: 10
runs-on: ${{ matrix.os }}
strategy:
matrix:
- go-version: [ '1.19', '1.20' ]
+ go-version: [ '1.21' ]
os: [windows-latest, macos-latest, ubuntu-latest]
fail-fast: false
steps:
- uses: actions/checkout@v2
- uses: ./.github/actions/go-common
- - run: go test -race -count 2 ./...
+ - run: go test -race -count 2 $(go list ./... | grep -v /fs)
+ - run: go test -race -count 2 ./fs/...
+ if: ${{ ! contains(matrix.os, 'windows') }}
test-benchmarks:
runs-on: ubuntu-latest
strategy:
matrix:
- go-version: [ '1.20' ]
+ go-version: [ '1.21' ]
fail-fast: false
steps:
- uses: actions/checkout@v2
runs-on: ubuntu-latest
strategy:
matrix:
- go-version: [ '1.20' ]
+ go-version: [ '1.21' ]
fail-fast: false
steps:
- uses: actions/checkout@v2
runs-on: ubuntu-latest
strategy:
matrix:
- go-version: [ '1.20' ]
+ go-version: [ '1.21' ]
fail-fast: false
steps:
- uses: actions/checkout@v2
runs-on: ubuntu-latest
strategy:
matrix:
- go-version: [ '1.20' ]
+ go-version: [ '1.21' ]
fail-fast: false
steps:
- uses: actions/checkout@v2
runs-on: ${{ matrix.os }}
strategy:
matrix:
- go-version: [ '1.20' ]
+ go-version: [ '1.21' ]
os: [ubuntu-latest]
fail-fast: false
steps:
# Test on 386 for atomic alignment and other bad 64-bit assumptions
run: GOARCH=386 fs/test.sh
- torrentfs-macos:
- timeout-minutes: 15
- runs-on: ${{ matrix.os }}
- strategy:
- matrix:
- go-version: [ '1.20' ]
- os: [macos-latest]
- fail-fast: false
- steps:
- - uses: actions/checkout@v2
- - uses: ./.github/actions/go-common
+# Github broke FUSE on MacOS, I'm not sure what the state is.
- - run: brew install macfuse pv md5sha1sum bash
-
- - name: Install godo
- run: go install -v github.com/anacrolix/godo@master
-
- - name: torrentfs end-to-end test
- run: fs/test.sh
- # Pretty sure macos on GitHub CI has issues with the fuse driver now.
- continue-on-error: true
+# torrentfs-macos:
+# timeout-minutes: 15
+# runs-on: ${{ matrix.os }}
+# strategy:
+# matrix:
+# go-version: [ '1.20' ]
+# os: [macos-latest]
+# fail-fast: false
+# steps:
+# - uses: actions/checkout@v2
+# - uses: ./.github/actions/go-common
+#
+# - run: brew install macfuse pv md5sha1sum bash
+#
+# - name: Install godo
+# run: go install -v github.com/anacrolix/godo@master
+#
+# - name: torrentfs end-to-end test
+# run: fs/test.sh
+# # Pretty sure macos on GitHub CI has issues with the fuse driver now.
+# continue-on-error: true