Skip to content

Run integration tests #284

Run integration tests

Run integration tests #284

name: Run integration tests
on:
workflow_dispatch:
inputs:
database1:
description: 'Database (v1) - a new one will be created if not provided'
required: false
default: ''
database2:
description: 'Database (v2) - a new one will be created if not provided'
required: false
default: ''
engine1:
description: 'Engine (v1) - a new one will be created if not provided'
required: false
engine2:
description: 'Engine (v2) - a new one will be created if not provided'
required: false
account:
description: 'Account'
required: true
default: 'developer'
environment:
description: 'Environment to run the tests against'
type: choice
required: true
default: 'staging'
options:
- dev
- staging
run-v1:
description: 'Run tests against Firebolt DB v1'
required: true
default: true
run-v2:
description: 'Run tests against Firebolt DB v2'
required: true
default: true
jobs:
run-integration-tests1:
runs-on: ubuntu-latest
steps:
- name: Run integration tests v1
id: integration-tests-v1
if: ${{ github.event.inputs.run-v1 }}
uses: ./.github/workflows/integration-test-v1.yml
with:
database: ${{ github.event.inputs.database1 }}
engine: ${{ github.event.inputs.engine1 }}
environment: ${{ github.event.inputs.environment }}
run-integration-tests2:
runs-on: ubuntu-latest
steps:
- name: Run integration tests v2
id: integration-tests-v2
if: ${{ github.event.inputs.run-v2 }}
uses: ./.github/workflows/integration-test-v2.yml
with:
database: ${{ github.event.inputs.database2 }}
engine: ${{ github.event.inputs.engine2 }}
environment: ${{ github.event.inputs.environment }}