Add depends_on condition #9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'Manual E2E tests' | |
on: | |
push: | |
branches: | |
- ci/pgpool-test-environment | |
workflow_dispatch: | |
inputs: | |
e2e-image: | |
description: 'The image reference to use for E2E tests' | |
default: 'ghcr.io/flagsmith/flagsmith-e2e:latest' | |
api-image: | |
description: 'The image reference to use for running the API' | |
default: 'ghcr.io/flagsmith/flagsmith:latest' | |
database-service: | |
description: 'Which database service to use to run the API against' | |
default: postgres | |
type: choice | |
options: | |
- postgres | |
- pgpool | |
jobs: | |
run-e2e-tests: | |
uses: ./.github/workflows/.reusable-docker-e2e-tests.yml | |
with: | |
runs-on: ubuntu-latest | |
e2e-image: ${{ inputs.e2e-image || 'ghcr.io/flagsmith/flagsmith-e2e:latest' }} | |
api-image: ${{ inputs.api-image || 'ghcr.io/flagsmith/flagsmith:latest' }} | |
concurrency: ${{ matrix.args.concurrency }} | |
tests: ${{ matrix.args.tests }} | |
compose-file: docker-compose-e2e-tests.${{ inputs.database-service || 'pgpool' }}.yml | |
secrets: | |
gcr-token: ${{ secrets.GITHUB_TOKEN || '' }} | |
strategy: | |
matrix: | |
args: | |
- tests: segment-part-1 environment | |
concurrency: 1 | |
- tests: segment-part-2 | |
concurrency: 1 | |
- tests: segment-part-3 signup flag invite project | |
concurrency: 2 | |
- tests: versioning | |
concurrency: 1 |