hackingtool/.github/workflows/test_install.yml

28 lines
759 B
YAML
Raw Normal View History

name: test_install
on:
pull_request:
branches: [master]
push:
branches: [master]
jobs:
test_install:
runs-on: ubuntu-latest
2023-07-18 08:46:09 +00:00
env:
TERM: "linux"
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: 3.x
cache: 'pip'
- run: pip install --upgrade pip
- run: pwd && ls -hal
2023-07-18 08:46:09 +00:00
- run: sudo ./install.sh 1
- run: pwd && ls -hal
# Typing "1" will allow us to manually enter a path.
# Provide a path to a writable directory: /home/runner/work/hackingtool/hackingtool
# Typing "99" will quit hackingtool.
- run: echo -e "1\n/home/runner/work/hackingtool/hackingtool\n99\n" | hackingtool
2023-07-18 09:18:26 +00:00
- run: pwd && ls -hal