From e68d7effcd4ef1b65da4a91eee23eb0371596f56 Mon Sep 17 00:00:00 2001 From: h7x4 Date: Wed, 10 Dec 2025 13:40:15 +0900 Subject: [PATCH] fixup! .gitea/workflows: init test pipeline --- .gitea/workflows/test.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml index 37d902f..402c93f 100644 --- a/.gitea/workflows/test.yaml +++ b/.gitea/workflows/test.yaml @@ -8,6 +8,10 @@ on: description: "Print SQL statements executed by SQLAlchemy during tests" type: boolean default: True + +env: + DEBUG_SQLALCHEMY: ${{ inputs.debug_sqlalchemy || 'true' }} + jobs: run-tests: runs-on: debian-latest @@ -39,7 +43,7 @@ jobs: --html=./test-report/index.html ) - if [ "${{ inputs.debug_sqlalchemy }}" == "true" ]; then + if [ "$DEBUG_SQLALCHEMY" == "true" ]; then PYTEST_ARGS+=( --echo )