Skip to content
Open
13 changes: 7 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,17 +59,18 @@ commands:
shasum -a 256 -c codecov.SHA256SUM
sudo chmod +x codecov


jobs:
tests-go:
parameters:
go-image:
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:
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
1 change: 1 addition & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ linters:
- staticcheck
- tagliatelle
- testifylint
- unqueryvet
- varnamelen
- whitespace
- wrapcheck
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion influxdb3/point_value_iterator.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down