
This tests the sqlite with/out CGO, updates the minimum tests go version to 1.18, and adds the latest go version `^1` to the sqlite CI tests. Related: https://github.com/go-gorm/sqlite/pull/161
14 lines
224 B
Go
14 lines
224 B
Go
//go:build !cgo || (cgo && pure)
|
|
// +build !cgo cgo,pure
|
|
|
|
package tests_test
|
|
|
|
import (
|
|
"os"
|
|
"path/filepath"
|
|
)
|
|
|
|
var (
|
|
sqliteDSN = filepath.Join(os.TempDir(), "gorm.db?_pragma=busy_timeout(5000)&_pragma=foreign_keys(1)")
|
|
)
|