Loading .github/workflows/test_install.yml +4 −4 Original line number Diff line number Diff line Loading @@ -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 Loading
.github/workflows/test_install.yml +4 −4 Original line number Diff line number Diff line Loading @@ -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