diff --git a/.circleci/config.yml b/.circleci/config.yml index 4a42bd9..8b1c936 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -13,7 +13,7 @@ jobs: name: Install golangci-lint # Note: It's likely the below URL's "master" will change to "main" someday. # The version of golangci-lint being used can be changed with the vN.N.N at the end of this URL. - command: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b ~/bin v1.42.0 + command: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b ~/bin v1.52.2 - run: name: Run Go Linters @@ -21,7 +21,7 @@ jobs: go-build-and-test: machine: - image: ubuntu-2204:2022.04.2 + image: ubuntu-2204:2023.02.1 steps: - checkout - run: diff --git a/main_test.go b/main_test.go index 781d3d7..f931da8 100644 --- a/main_test.go +++ b/main_test.go @@ -18,6 +18,9 @@ import ( // containers to which we then connect and store the connection in a package // global variable func TestMain(m *testing.M) { + + log.Printf("Running tests on GOARCH=%s", runtime.GOARCH) + pool, err := dockertest.NewPool("") if err != nil { log.Fatalf("Can't run schema tests. Docker is not running: %s", err) diff --git a/schema_test.go b/schema_test.go index 10d386d..e31687b 100644 --- a/schema_test.go +++ b/schema_test.go @@ -59,6 +59,6 @@ var TestDBs map[string]*TestDB = map[string]*TestDB{ Driver: MSSQLDriverName, DockerRepo: "mcr.microsoft.com/mssql/server", DockerTag: "2019-latest", - SkippedArchs: []string{"arm64"}, + SkippedArchs: []string{"amd64"}, }, }