Skip to content

chore(deps-dev): bump @types/jest from 29.5.6 to 29.5.7 in /ui #9343

chore(deps-dev): bump @types/jest from 29.5.6 to 29.5.7 in /ui

chore(deps-dev): bump @types/jest from 29.5.6 to 29.5.7 in /ui #9343

name: Integration Tests
on:
push:
branches:
- main
paths-ignore:
- "logos/**"
- "**.md"
- "**.txt"
pull_request:
paths-ignore:
- "logos/**"
- "**.md"
- "**.txt"
workflow_dispatch:
jobs:
cli:
name: CLI Integration Tests
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: "${{ vars.GO_VERSION }}"
check-latest: true
cache: true
- name: Install Dagger
run: |
cd /usr/local
curl -L https://dl.dagger.io/dagger/install.sh | DAGGER_VERSION=${{ vars.DAGGER_VERSION }} sh
- name: Install Mage
uses: magefile/mage-action@v3
with:
install-only: true
- name: Run CLI Tests
run: mage dagger:run test:cli
test:
name: Integration Tests
runs-on: ubuntu-latest
timeout-minutes: 20
strategy:
fail-fast: false
matrix:
test:
["api", "api/cache", "fs/git", "fs/local", "fs/s3", "import/export"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: "${{ vars.GO_VERSION }}"
check-latest: true
cache: true
- name: Install Dagger
run: |
cd /usr/local
curl -L https://dl.dagger.io/dagger/install.sh | DAGGER_VERSION=${{ vars.DAGGER_VERSION }} sh
- name: Install Mage
uses: magefile/mage-action@v3
with:
install-only: true
- name: Run Integration Tests
run: mage dagger:run "test:integration ${{ matrix.test }}"
- name: Upload Flipt Service Logs
uses: actions/upload-artifact@v3
if: ${{ always() }}
with:
name: Flipt Service Logs
path: build/logs
retention-days: 5
ui:
name: UI Integration Tests
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: "${{ vars.GO_VERSION }}"
check-latest: true
cache: true
- name: Install Dagger
run: |
cd /usr/local
curl -L https://dl.dagger.io/dagger/install.sh | DAGGER_VERSION=${{ vars.DAGGER_VERSION }} sh
- name: Install Mage
uses: magefile/mage-action@v3
with:
install-only: true
- name: Run UI Tests
run: mage dagger:run test:ui