From e2ff5302f54d781ae4a5bc7b9f8fde8c9e4a0fe7 Mon Sep 17 00:00:00 2001 From: Marc Ransome Date: Fri, 29 Mar 2024 12:37:59 +0000 Subject: [PATCH] Set shell command to permit isatty() to function --- .github/workflows/release.yml | 1 + .github/workflows/test.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6890aa9..16ac36d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -46,6 +46,7 @@ jobs: name: Generate build artifact env: ARCHITECTURE: ${{ steps.arch.outputs.name }} + shell: 'script -q -e -c "bash --noprofile --norc -eo pipefail {0}"' run: | set -euo pipefail just package "${GITHUB_REF_NAME}" diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 20b339e..e795679 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -29,4 +29,5 @@ jobs: - name: Install dependencies run: brew install popt just cmocka - name: Run unit tests + shell: 'script -q -e -c "bash --noprofile --norc -eo pipefail {0}"' run: just test-release