fixup! .gitea/workflows: init test pipeline
Some checks failed
Run tests / run-tests (push) Has been cancelled
Some checks failed
Run tests / run-tests (push) Has been cancelled
This commit is contained in:
@@ -8,6 +8,10 @@ on:
|
|||||||
description: "Print SQL statements executed by SQLAlchemy during tests"
|
description: "Print SQL statements executed by SQLAlchemy during tests"
|
||||||
type: boolean
|
type: boolean
|
||||||
default: True
|
default: True
|
||||||
|
|
||||||
|
env:
|
||||||
|
DEBUG_SQLALCHEMY: ${{ inputs.debug_sqlalchemy || 'true' }}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
run-tests:
|
run-tests:
|
||||||
runs-on: debian-latest
|
runs-on: debian-latest
|
||||||
@@ -39,7 +43,7 @@ jobs:
|
|||||||
--html=./test-report/index.html
|
--html=./test-report/index.html
|
||||||
)
|
)
|
||||||
|
|
||||||
if [ "${{ inputs.debug_sqlalchemy }}" == "true" ]; then
|
if [ "$DEBUG_SQLALCHEMY" == "true" ]; then
|
||||||
PYTEST_ARGS+=(
|
PYTEST_ARGS+=(
|
||||||
--echo
|
--echo
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user