diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c0585ab..29f8792 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -83,6 +83,18 @@ jobs: run: go test -v ./... test-bsd: + strategy: + matrix: + os: + - name: freebsd + version: '14.0' + flags: '-test.v' + - name: openbsd + version: '7.5' + flags: '-test.v -test.short' + - name: netbsd + version: '10.0' + flags: '-test.v -test.short' runs-on: ubuntu-latest needs: test @@ -96,15 +108,15 @@ jobs: - name: Build env: - GOOS: freebsd - TESTFLAGS: '-test.v' + GOOS: ${{ matrix.os.name }} + TESTFLAGS: ${{ matrix.os.flags }} run: .github/workflows/build-test.sh - name: Test uses: cross-platform-actions/action@v0.24.0 with: - operating_system: freebsd - version: '14.0' + operating_system: ${{ matrix.os.name }} + version: ${{ matrix.os.version }} shell: bash run: . ./test.sh sync_files: runner-to-vm diff --git a/README.md b/README.md index 25b2ccb..4cd868b 100644 --- a/README.md +++ b/README.md @@ -91,7 +91,8 @@ It also benefits greatly from [SQLite's](https://sqlite.org/testing.html) and Every commit is [tested](.github/workflows/test.yml) on Linux (amd64/arm64/386/riscv64/s390x), macOS (amd64/arm64), -Windows (amd64), FreeBSD (amd64), illumos (amd64), and Solaris (amd64). +Windows (amd64), FreeBSD (amd64), OpenBSD (amd64), NetBSD (amd64), +illumos (amd64), and Solaris (amd64). The Go VFS is tested by running SQLite's [mptest](https://github.com/sqlite/sqlite/blob/master/mptest/mptest.c). diff --git a/tests/stmt_test.go b/tests/stmt_test.go index a314314..be13044 100644 --- a/tests/stmt_test.go +++ b/tests/stmt_test.go @@ -618,6 +618,9 @@ func TestStmt_ColumnTime(t *testing.T) { } func TestStmt_Error(t *testing.T) { + if testing.Short() { + t.Skip("skipping in short mode") + } if bits.UintSize < 64 { t.Skip("skipping on 32-bit") }