Skip to content

chore: Release/1.52.1 (#3661) #14120

chore: Release/1.52.1 (#3661)

chore: Release/1.52.1 (#3661) #14120

name: Integration Tests
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
env:
GO_VERSION: "1.23"
DAGGER_VERSION: "0.13.5"
concurrency:
group: "${{ github.workflow }}-${{ github.head_ref || github.ref }}"
cancel-in-progress: true
jobs:
cli:
name: CLI Integration Tests
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@v4
- name: Run CLI Tests
uses: dagger/dagger-for-github@v7
with:
verb: call
version: ${{ env.DAGGER_VERSION }}
args: test --source .:default cli
test:
name: Integration Tests
runs-on: ubuntu-latest
timeout-minutes: 20
strategy:
fail-fast: false
matrix:
test:
[
"api/sqlite",
"api/libsql",
"api/postgres",
"api/mysql",
"api/cockroach",
"api/cache",
"api/cachetls",
"api/snapshot",
"api/ofrep",
"fs/git",
"fs/local",
"fs/s3",
"fs/oci",
"fs/azblob",
"fs/gcs",
"import/export",
"authn",
"authz",
"audit/webhook",
"audit/webhooktmpl",
]
steps:
- uses: actions/checkout@v4
- run: echo "INTEGRATION_TEST_NAME=${{ matrix.test }}" | tr '/' '-' >> $GITHUB_ENV
- name: Run Integration Tests
uses: dagger/dagger-for-github@v7
with:
verb: call
version: ${{ env.DAGGER_VERSION }}
args: test --source .:default integration --cases ${{ matrix.test }}
- name: Upload Flipt Service Logs
uses: actions/upload-artifact@v4
if: ${{ always() }}
with:
name: "build-logs-${{ env.INTEGRATION_TEST_NAME }}"
path: "build/logs"
retention-days: 5
ui:
name: UI Integration Tests
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@v4
- name: Run UI Tests
uses: dagger/dagger-for-github@v7
with:
verb: call
version: ${{ env.DAGGER_VERSION }}
args: test --source .:default ui