Skip to content
Merged
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
8 changes: 7 additions & 1 deletion .github/workflows/testing_flask.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,14 @@ on:
inputs:
flask_app:
description: 'Optional FLASK_APP value (module[:callable] or module:create_app()). If empty, the workflow will assume FLASK_APP is set in the repo or discoverable.'
required: true
type: string
flask_env:
description: 'Optional FLASK_ENV value to set the Flask environment.'
required: false
type: string
default: ''
default: 'TESTING'


jobs:
build:
Expand Down Expand Up @@ -53,6 +58,7 @@ jobs:
if: steps.check_flask.outputs.found == 'true'
env:
FLASK_APP: ${{ inputs.flask_app }}
FLASK_ENV: ${{ inputs.flask_env }}
run: |
# Ensure we fail on pipe errors and initialize EXIT_CODE
set -o pipefail
Expand Down