From 0e0b8fac6cbd7cfa26af9be1b22c3f0eeb905a57 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Tue, 18 Jul 2023 10:46:09 +0200 Subject: [PATCH] Update test_install.yml --- .github/workflows/test_install.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test_install.yml b/.github/workflows/test_install.yml index e303003..f73089e 100644 --- a/.github/workflows/test_install.yml +++ b/.github/workflows/test_install.yml @@ -7,6 +7,8 @@ on: jobs: test_install: runs-on: ubuntu-latest + env: + TERM: "linux" steps: - uses: actions/checkout@v3 - uses: actions/setup-python@v4 @@ -16,9 +18,8 @@ jobs: - run: pip install --upgrade pip - run: pwd && ls -hal # How can we pipe in responses to `read` prompts? - #- env: - # TERM: "linux" # run: echo -e "\n1\n1\n1\n" | sudo ./install.sh - - env: - TERM: "linux" - run: sudo ./install.sh 1 + - run: sudo ./install.sh 1 + - run: pwd && ls -hal + # `2` should use the default path /home/hackingtool/ + - run: echo "2\n" | hackingtool