Update test_install.yml

This commit is contained in:
Christian Clauss 2023-07-18 11:18:26 +02:00 committed by GitHub
parent e87c63e499
commit cf34f54a9c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,9 +18,9 @@ jobs:
- run: pip install --upgrade pip
- run: pwd && ls -hal
# How can we pipe in responses to `read` prompts?
# run: echo -e "\n1\n1\n1\n" | sudo ./install.sh
#- run: echo -e "\n1\n1\n1\n" | sudo ./install.sh
- run: sudo ./install.sh 1
- run: pwd && ls -hal
# `2` should use the default path /home/hackingtool/
- run: echo -e "2\n" | hackingtool # Does not take the echoed input
- run: echo -e "2\n" | ./hackingtool.py
- run: echo -e "1\n/home/runner/work/hackingtool/hackingtool\n" | hackingtool
- run: pwd && ls -hal