1
0
mirror of https://github.com/Z4nzu/hackingtool.git synced 2025-06-20 06:15:54 +02:00

Update test_install.yml

This commit is contained in:
Christian Clauss
2023-07-18 10:46:09 +02:00
committed by GitHub
parent 27c6941795
commit 0e0b8fac6c

View File

@ -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