mirror of
https://github.com/Z4nzu/hackingtool
synced 2024-11-14 19:55:19 +00:00
Update test_install.yml
This commit is contained in:
parent
27c6941795
commit
0e0b8fac6c
11
.github/workflows/test_install.yml
vendored
11
.github/workflows/test_install.yml
vendored
@ -7,6 +7,8 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
test_install:
|
test_install:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
env:
|
||||||
|
TERM: "linux"
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: actions/setup-python@v4
|
- uses: actions/setup-python@v4
|
||||||
@ -16,9 +18,8 @@ jobs:
|
|||||||
- run: pip install --upgrade pip
|
- run: pip install --upgrade pip
|
||||||
- run: pwd && ls -hal
|
- run: pwd && ls -hal
|
||||||
# How can we pipe in responses to `read` prompts?
|
# How can we pipe in responses to `read` prompts?
|
||||||
#- env:
|
|
||||||
# TERM: "linux"
|
|
||||||
# run: echo -e "\n1\n1\n1\n" | sudo ./install.sh
|
# run: echo -e "\n1\n1\n1\n" | sudo ./install.sh
|
||||||
- env:
|
- run: sudo ./install.sh 1
|
||||||
TERM: "linux"
|
- run: pwd && ls -hal
|
||||||
run: sudo ./install.sh 1
|
# `2` should use the default path /home/hackingtool/
|
||||||
|
- run: echo "2\n" | hackingtool
|
||||||
|
Loading…
Reference in New Issue
Block a user