ci: Use shell option to enable tty in gha

A tty is required for testing the debug console

Signed-off-by: Ryan Savino <ryan.savino@amd.com>
This commit is contained in:
Ryan Savino 2025-04-22 16:15:25 +00:00
parent 03923e80c4
commit f26ba72b52

View File

@ -92,7 +92,12 @@ jobs:
- name: Run tests
timeout-minutes: 100
run: bash tests/integration/kubernetes/gha-run.sh run-tests
# GHA container doesn't support TTY by default
# script shell workaround required to start a session with TTY support
# See: https://github.com/actions/runner/issues/241
shell: 'script -q -e -c "bash --noprofile --norc -eo pipefail {0}"'
run: |
./tests/integration/kubernetes/gha-run.sh run-tests
- name: Delete kata-deploy
if: always()
@ -177,7 +182,12 @@ jobs:
- name: Run tests
timeout-minutes: 50
run: bash tests/integration/kubernetes/gha-run.sh run-tests
# GHA container doesn't support TTY by default
# script shell workaround required to start a session with TTY support
# See: https://github.com/actions/runner/issues/241
shell: 'script -q -e -c "bash --noprofile --norc -eo pipefail {0}"'
run: |
./tests/integration/kubernetes/gha-run.sh run-tests
- name: Delete kata-deploy
if: always()