Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
Hackingtool
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
test
Hackingtool
Commits
44dce8d2
Unverified
Commit
44dce8d2
authored
Jul 19, 2023
by
Christian Clauss
Committed by
GitHub
Jul 19, 2023
Browse files
Options
Downloads
Patches
Plain Diff
Update test_install.yml
parent
abf8ebe4
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
.github/workflows/test_install.yml
+12
-34
12 additions, 34 deletions
.github/workflows/test_install.yml
with
12 additions
and
34 deletions
.github/workflows/test_install.yml
+
12
−
34
View file @
44dce8d2
...
...
@@ -5,10 +5,19 @@ on:
push
:
branches
:
[
master
]
jobs
:
install
:
test_
install
:
runs-on
:
ubuntu-latest
env
:
TERM
:
"
linux"
strategy
:
fail-fast
:
false
matrix
:
commands
:
# Enter hackingtool starting from the main menu with \n as the delimiter.
-
'
17\n0\n1\n\n99\n99'
# Install, run, update, update system, press ENTER to continue, back to main menu, quit
-
'
17\n0\n2\n\n99\n99'
# Install, run, update, update hackingtool, press ENTER to continue, back to main menu, quit
-
'
17\n1\n1\n\n99'
# Install, run, uninstall, press ENTER to continue, quit
-
"
99"
# Install, run, quit
steps
:
-
uses
:
actions/checkout@v3
-
uses
:
actions/setup-python@v4
...
...
@@ -19,40 +28,9 @@ jobs:
-
run
:
pwd && ls -hal
-
run
:
sudo ./install.sh
1
-
run
:
pwd && ls -hal
# Typing "1" will allow us to manually enter the filepath to hackingtool
# Provide the filepath ${HOME}/work/hackingtool/hackingtool
# Typing "99" will quit hackingtool
-
run
:
echo -e "1\n${HOME}/work/hackingtool/hackingtool\n99\n" | hackingtool
-
run
:
pwd && ls -hal
test_install
:
runs-on
:
ubuntu-latest
needs
:
install
env
:
TERM
:
"
linux"
strategy
:
fail-fast
:
false
matrix
:
commands
:
# Enter hackingtool starting from the main menu with \n as the delimiter.
-
'
17\n0\n1\n\n99'
# Install, run, update, update system, press ENTER to continue
-
'
17\n0\n2\n\n99'
# Install, run, update, update hackingtool, press ENTER to continue
-
'
17\n1\n1\n\n99'
# Install, run, uninstall, press ENTER to continue
-
"
99"
# Install, run, quit
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
#- run: sudo ./install.sh 1
-
run
:
hackingtool |
true
-
run
:
pwd && ls -hal
# Typing "1" will allow us to manually enter the filepath to hackingtool
# Typing "1" will allow us to manually enter the filepath to hackingtool.
# Provide the filepath ${HOME}/work/hackingtool/hackingtool
# Type the matrix.commands
# Type the matrix.commands
.
-
run
:
echo -e "1\n${HOME}/work/hackingtool/hackingtool\n${{ matrix.commands }}\n" | hackingtool
-
run
:
pwd && ls -hal
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment