diff --git a/.github/workflows/demo.yml b/.github/workflows/demo.yml index 187a57e..5d01d6c 100644 --- a/.github/workflows/demo.yml +++ b/.github/workflows/demo.yml @@ -140,7 +140,7 @@ jobs: - name: Run the demo run: | source .venv/bin/activate - VERBOSE=${{ github.event.inputs.verbose }} PROGRESS=${{ github.event.inputs.progress }} LLVM_REF=${{ github.event.inputs.llvm_ref }} CCACHE=${{ matrix.ccache }} CLONE_DEPTH=${{ github.event.inputs.clone_depth }} BUILD_CONFIG=${{ github.event.inputs.build_config }} IGNORE_ERROR=${{ github.event.inputs.ignore_error }} TEST=${{ github.event.inputs.test }} INSTALL=${{ github.event.inputs.install }} DEPLOY=${{ github.event.inputs.deploy }} EXPORT=${{ github.event.inputs.export }} DEST=/tmp/seal5_llvm ${{ steps.ctx.outputs.program }} examples/${{ github.event.inputs.script }} + VERBOSE=${{ github.event.inputs.verbose }} PROGRESS=${{ github.event.inputs.progress }} LLVM_REF=${{ github.event.inputs.llvm_ref }} CCACHE=${{ matrix.ccache }} CLONE_DEPTH=${{ github.event.inputs.clone_depth }} BUILD_CONFIG=${{ github.event.inputs.build_config }} IGNORE_ERROR=${{ github.event.inputs.ignore_error }} TEST=${{ github.event.inputs.test }} INSTALL=${{ github.event.inputs.install }} DEPLOY=${{ github.event.inputs.deploy }} EXPORT=${{ matrix.export }} DEST=/tmp/seal5_llvm ${{ steps.ctx.outputs.program }} examples/${{ github.event.inputs.script }} - name: Generate Reports run: | source .venv/bin/activate diff --git a/seal5/utils.py b/seal5/utils.py index 3b83804..bcbf806 100644 --- a/seal5/utils.py +++ b/seal5/utils.py @@ -48,6 +48,8 @@ def str2bool(value, allow_none=False): return True if value in ["false", "off", "no"]: return False + if len(value) == 0: + return False assert False, f"Unhandled case: {value}"