This is an automated email from the ASF dual-hosted git repository.
laskoviymishka pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/iceberg-go.git
The following commit(s) were added to refs/heads/main by this push:
new 0f294d68c ci: run the iceberg-verification types fixtures (#2692)
0f294d68c is described below
commit 0f294d68cc82d61aebfe30d1a040f4e1381897a1
Author: Andrei Tserakhau <[email protected]>
AuthorDate: Fri Nov 27 22:49:57 2026 +0100
ci: run the iceberg-verification types fixtures (#2692)
TestVerificationTypes skips unless ICEBERG_VERIFICATION_DIR is set, and
the CI step that sets it only ran TestReferenceTables in ./table, so the
types fixtures were never checked. Run the root-package test in the same
step, against the same pinned iceberg-verification checkout, and rename
the step to cover both.
The pinned ref already carries table-spec/types/, so it stays as it is.
---
.github/workflows/go-ci.yml | 8 +++++++-
types_verification_test.go | 5 +----
2 files changed, 8 insertions(+), 5 deletions(-)
diff --git a/.github/workflows/go-ci.yml b/.github/workflows/go-ci.yml
index c1cf896e5..acecde206 100644
--- a/.github/workflows/go-ci.yml
+++ b/.github/workflows/go-ci.yml
@@ -96,8 +96,9 @@ jobs:
- name: Vet (including integration-tagged files)
if: matrix.os == 'ubuntu-latest' && matrix.go == '1.27.1'
run: make vet
- # Bump the ref to adopt new iceberg-verification reference tables.
+ # Bump the ref to adopt new iceberg-verification fixtures.
- name: Check out iceberg-verification
+ id: verification-checkout
if: matrix.os == 'ubuntu-latest' && matrix.go == '1.27.1'
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
@@ -112,6 +113,11 @@ jobs:
run: |
ln -s "$ICEBERG_VERIFICATION_DIR" /tmp/iceberg-verification
go test -v -run '^TestReferenceTables$' ./table
+ - name: Run iceberg-verification types fixtures
+ if: ${{ !cancelled() && steps.verification-checkout.outcome == 'success'
}}
+ env:
+ ICEBERG_VERIFICATION_DIR: ${{ github.workspace }}/.iceberg-verification
+ run: go test -v -run '^TestVerificationTypes$' .
- name: Save Go module and build cache
if: github.ref == 'refs/heads/main'
uses: actions/cache/save@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 #
v6.1.0
diff --git a/types_verification_test.go b/types_verification_test.go
index 5c23b6dc3..138c664ad 100644
--- a/types_verification_test.go
+++ b/types_verification_test.go
@@ -32,10 +32,7 @@ import (
// typesFixturesSkip names type cases iceberg-go does not pass yet, with the
// reason. A type iceberg-go does not model goes here as "unsupported: ...".
// Listed cases still run, and fail once they pass so the entry gets removed.
-var typesFixturesSkip = map[string]string{
- "geospatial/geometry-crs84": "writes geometry, not the
canonical geometry(OGC:CRS84)",
- "geospatial/geography-crs84-spherical": "writes geography, not the
canonical geography(OGC:CRS84, spherical)",
-}
+var typesFixturesSkip = map[string]string{}
type typesFixtureCase struct {
ID string `json:"id"`