refactor Scan.py #8
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: integration-test | |
on: | |
push: | |
paths: | |
- .github/workflows/integration-test.yaml | |
- src/**/*.py | |
defaults: | |
run: | |
shell: bash | |
env: | |
PYTHON_VERSION: 3.12.4 | |
jobs: | |
run-integration-test: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
steps: | |
# checkout repository to runner | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- name: build image | |
run: | | |
docker buildx bake | |
- name: integration test | |
run: | | |
docker compose up hacking_lab_app & | |
docker compose run my_portscanner_app -sS 172.18.0.3 -p 22 -d | |
docker compose run my_portscanner_app -sS 172.18.0.3 -p 22,80 --max-parallelism 16 --max-rtt-timeout 200 -d | |
docker compose run my_portscanner_app -sT 172.18.0.3 -p20-30 --max-rtt-timeout 100 -d | |