fixup! .gitea/workflows: init test pipeline

This commit is contained in:
2025-12-10 15:42:10 +09:00
parent e9ce51b97b
commit 90da53c26c
+4 -4
View File
@@ -4,13 +4,13 @@ on:
push: push:
workflow_dispatch: workflow_dispatch:
inputs: inputs:
debug_sqlalchemy: debug_sql:
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: env:
DEBUG_SQLALCHEMY: ${{ inputs.debug_sqlalchemy || true }} DEBUG_SQL: ${{ inputs.debug_sql || true }}
jobs: jobs:
run-tests: run-tests:
@@ -43,9 +43,9 @@ jobs:
--html=./test-report/index.html --html=./test-report/index.html
) )
if [ "$DEBUG_SQLALCHEMY" == "true" ]; then if [ "$DEBUG_SQL" == "true" ]; then
PYTEST_ARGS+=( PYTEST_ARGS+=(
--echo --debug-sql
) )
fi fi