Skip to content
Merged
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
6 changes: 6 additions & 0 deletions .github/workflows/pre_production_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ on:
description: "The maximum number of SQL test cases to run"
required: false
default: 500
seed:
type: string
description: "Random seed for reproducible sampling (float in [-1.0, 1.0]). Leave blank to auto-generate."
required: false
default: ''

jobs:
run-pre-production-tests:
Expand All @@ -20,6 +25,7 @@ jobs:
with:
eval_function: ${{ inputs.eval_function }}
sql_limit: ${{ inputs.sql_limit }}
seed: ${{ inputs.seed }}
secrets:
TEST_API_ENDPOINT: ${{ secrets.TEST_API_ENDPOINT }}
DB_USER: ${{ secrets.DB_USER }}
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/production-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ on:
required: true
type: string
default: 'main'
seed:
description: 'Random seed for reproducible sampling (float in [-1.0, 1.0]). Leave blank to auto-generate.'
required: false
type: string
default: ''
jobs:
deploy:
uses: lambda-feedback/evaluation-function-workflows/.github/workflows/deploy.yml@deploy-request
Expand All @@ -28,6 +33,7 @@ jobs:
version-bump: ${{ inputs.version-bump }}
branch: ${{ inputs.branch }}
run-database-tests: true
seed: ${{ inputs.seed }}

secrets:
aws-key-id: ${{ secrets.LAMBDA_CONTAINER_PIPELINE_AWS_ID }}
Expand Down
Loading