Update test_install.yml

This commit is contained in:
Christian Clauss 2023-07-19 13:40:06 +02:00 committed by GitHub
parent 7e9f0e684b
commit 2da84e1a9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,11 +13,9 @@ jobs:
fail-fast: false fail-fast: false
matrix: matrix:
commands: commands:
# Typing "1" will allow us to manually enter a path. # Enter hackingtool starting from the main menu with \n as the delimiter.
# Provide a path to a writable directory: /tmp - "17" # Install, run, uninstall
# Typing "99" will quit hackingtool. - "99" # Install, run, quit
- "1\n${HOME}/hackingtool.config\n99\n" # Install, run, quit
- "1\n/tmp/hackingtool\n17\n" # Install, run, uninstall
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: actions/setup-python@v4 - uses: actions/setup-python@v4
@ -28,6 +26,9 @@ jobs:
- run: pwd && ls -hal - run: pwd && ls -hal
- run: sudo ./install.sh 1 - run: sudo ./install.sh 1
- run: pwd && ls -hal - run: pwd && ls -hal
- run: echo -e ${{ matrix.commands }} | hackingtool # Typing "1" will allow us to manually enter the filepath to hackingtool
# Provide the filepath ${HOME}/work/hackingtool/hackingtool
# Type the matrix.commands
- run: echo -e "1\n${HOME}/work/hackingtool/hackingtool\n${{ matrix.commands }}\n" | hackingtool
- run: pwd && ls -hal - run: pwd && ls -hal