diff --git a/.circleci/config.yml b/.circleci/config.yml index 2cb1351..4af528f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -59,7 +59,6 @@ commands: shasum -a 256 -c codecov.SHA256SUM sudo chmod +x codecov - jobs: tests-go: parameters: @@ -67,9 +66,11 @@ jobs: type: string default: "cimg/go:1.23" exe: - type: executor + type: string default: docker-amd64-image - executor: << parameters.exe >> + executor: + name: << parameters.exe >> + go-image: << parameters.go-image >> steps: - checkout - restore_cache: @@ -103,9 +104,9 @@ jobs: name: Run tests command: | if [[ "$CIRCLE_BRANCH" == pull/* ]]; then - GOEXPERIMENT=nocoverageredesign go test -v -cover -coverprofile=coverage.out ./... + go test -v -cover -coverprofile=coverage.out ./influxdb3/... else - GOEXPERIMENT=nocoverageredesign go test -v -cover -coverprofile=coverage.out --tags e2e ./... + go test -v -cover -coverprofile=coverage.out --tags e2e ./influxdb3/... fi - run: name: Coverage Report @@ -144,5 +145,5 @@ workflows: matrix: parameters: exe: [ docker-amd64-image, docker-arm64-image ] - go-image: [ << pipeline.parameters.default-go-image >>, "cimg/go:1.23", "cimg/go:1.24", "cimg/go:1.25" ] + go-image: [ << pipeline.parameters.default-go-image >>, "cimg/go:1.23", "cimg/go:1.24" ] - lint diff --git a/.golangci.yml b/.golangci.yml index 847f006..ff5fb8b 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -27,6 +27,7 @@ linters: - staticcheck - tagliatelle - testifylint + - unqueryvet - varnamelen - whitespace - wrapcheck diff --git a/CHANGELOG.md b/CHANGELOG.md index 41ee1c4..05f5eb1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ ## 2.11.0 [unreleased] +### CI + +1. [#195](https://github.com/InfluxCommunity/influxdb3-go/pull/195): Fix pipelines not downloading the correct go images. + ### Features 1. [192](https://github.com/InfluxCommunity/influxdb3-go/pull/192): Add clearer timeout parameters. diff --git a/influxdb3/point_value_iterator.go b/influxdb3/point_value_iterator.go index 0f795b3..90543bb 100644 --- a/influxdb3/point_value_iterator.go +++ b/influxdb3/point_value_iterator.go @@ -43,7 +43,7 @@ type PointValueIterator struct { record arrow.Record } -// NewPointValueIterator returns a new PointValueIterator +// NewPointValueIterator return a new PointValueIterator instance func NewPointValueIterator(reader *flight.Reader) *PointValueIterator { return &PointValueIterator{ reader: reader,