hackingtool/.github/workflows/test_install.yml
2023-07-18 10:13:27 +02:00

23 lines
543 B
YAML

name: test_install
on:
pull_request:
branches: [master]
push:
branches: [master]
jobs:
test_install:
runs-on: ubuntu-latest
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
# How can we pipe in responses to `read` prompts?
#- env:
# TERM: "linux"
# run: echo -e "\n1\n1\n1\n" | sudo ./install.sh
- run: sudo ./install.sh 1