CI: improve workflow debug 9
Some checks failed
/ build (push) Failing after 21s

This commit is contained in:
phil 2024-10-28 11:51:20 +01:00
parent 6051a52dba
commit 9fdaa03f7b

View file

@ -3,14 +3,15 @@ on:
workflow_dispatch:
inputs:
logLevel:
description: "Log level"
required: true
default: "warning"
type: choice
options:
- info
- warning
- debug
description: "Verbose"
required: false
default: false
type: boolean
build:
description: "Build container"
required: false
default: false
type: boolean
jobs:
build:
@ -35,7 +36,7 @@ jobs:
run: uv pip install httpx
- name: Echo env
if: ${{ inputs.logLevel }} == 'debug'
if: ${{ inputs.verbose }}
run: |
echo '${{ toJSON(env) }}'
@ -43,6 +44,7 @@ jobs:
run: pytest -s tests/basic.py
- name: Build container
if: ${{ inputs.build }}
uses: actions/buildah-build@v1
with:
image: treetrail-backend