Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,10 @@ jobs:
regression_tests:
uses: ./.github/workflows/regression_tests.yml
with:
environment: 'dev'
log_level: 'INFO'
tags: '@regression'
id: 'Run during opened pull request'
environment: "dev"
log_level: "INFO"
tags: "@regression"
id: "Run during opened pull request"
github_tag: ${{ github.event.pull_request.head.ref }}
secrets: inherit
secrets:
AWS_ACCOUNT_ID: ${{ secrets.AWS_ACCOUNT_ID }}
20 changes: 12 additions & 8 deletions .github/workflows/regression_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@ on:
workflow_call:
inputs:
environment:
description: 'Environment to run tests against'
description: "Environment to run tests against"
type: string
required: false
default: "dev"
tags:
description: 'Test scenario tags. If you want to specify multiple tags, you should separate them with a colon :'
description: "Test scenario tags. If you want to specify multiple tags, you should separate them with a colon :"
required: false
type: string
default: "@regression"
log_level:
description: 'Log level to output to console'
description: "Log level to output to console"
type: string
required: false
default: "INFO"
Expand All @@ -27,24 +27,28 @@ on:
required: false
default: "Run during opened pull request"
github_tag:
description: 'The github tag to run the test pack from'
description: "The github tag to run the test pack from"
type: string
required: true
secrets:
AWS_ACCOUNT_ID:
description: "AWS Account ID for role assumption"
required: true

workflow_dispatch:
inputs:
tags:
description: 'Test scenario tags. If you want to specify multiple tags, you should separate them with a colon :'
description: "Test scenario tags. If you want to specify multiple tags, you should separate them with a colon :"
required: false
type: string
default: "@regression"
environment:
description: 'Environment to run tests against'
description: "Environment to run tests against"
type: environment
required: true
default: "dev"
log_level:
description: 'Log level to output to console'
description: "Log level to output to console"
type: choice
options: ["INFO", "DEBUG"]
required: false
Expand All @@ -54,7 +58,7 @@ on:
required: true
default: "Manually Triggered Run"
github_tag:
description: 'The github tag to run the test pack from'
description: "The github tag to run the test pack from"
required: true
default: "main"

Expand Down
Loading