Skip to content

feat: enhance CI workflow with Go version matrix and update example d… #103

feat: enhance CI workflow with Go version matrix and update example d…

feat: enhance CI workflow with Go version matrix and update example d… #103

# SPDX-FileCopyrightText: 2025 Copyright © 2025 OpenCHAMI a Series of LF Projects, LLC
#
# SPDX-License-Identifier: MIT
name: Integration Tests
on:
pull_request:
branches: [ main ]
push:
branches:
- main
- 'feature/**'
- 'fix/**'
- 'testing/**'
- 'feat/**'
jobs:
integration-tests:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: ['1.23.12', '1.24.11', '1.25.5']
fail-fast: false
steps:
- name: Checkout code
uses: actions/checkout@v5
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version: ${{ matrix.go-version }}
check-latest: true
- name: Build fabrica
run: make build
- name: Run Go integration tests
env:
GOPRIVATE: "github.com/me/*,example.com/*"
run: |
cd test/integration
go test -v -timeout 10m
- name: Upload test artifacts
if: failure()
uses: actions/upload-artifact@v4
with:
name: test-artifacts
path: |
test/integration/testdata/
retention-days: 7