Skip to content

Commit

Permalink
Increase parallelism and add continue-on-error to steps
Browse files Browse the repository at this point in the history
Updated the max-parallel setting from 8 to 10 to increase workflow efficiency. Also added the continue-on-error parameter to multiple steps to ensure the workflow continues despite errors. This improves the robustness and speed of the CI process.
  • Loading branch information
L1ghtn1ng committed Oct 16, 2024
1 parent 5b2c453 commit dd3bef6
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion .github/workflows/theHarvester.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
Python:
runs-on: ${{ matrix.os }}
strategy:
max-parallel: 8
max-parallel: 10
matrix:
os: [ ubuntu-latest, macos-latest ]
python-version: [ '3.11', '3.12', '3.13' ]
Expand All @@ -29,80 +29,100 @@ jobs:
run: |
pip install --upgrade pip
pip install .[dev]
continue-on-error: true

- name: Lint with ruff
run: |
ruff check
continue-on-error: true

- name: Format with ruff
run: |
ruff format --check --diff
continue-on-error: true

- name: Test with pytest
run: |
pytest
continue-on-error: true

- name: Run theHarvester module Anubis
run: |
theHarvester -d apple.com -b anubis
continue-on-error: true

- name: Run theHarvester module Baidu
run: |
theHarvester -d yale.edu -b baidu
continue-on-error: true

- name: Run theHarvester module Bing
run: |
theHarvester -d yale.edu -b bing
continue-on-error: true

- name: Run theHarvester module CertSpotter
run: |
theHarvester -d yale.edu -b certspotter
continue-on-error: true

- name: Run theHarvester module Crtsh
run: |
theHarvester -d hcl.com -b crtsh
continue-on-error: true

- name: Run theHarvester module DnsDumpster
run: |
theHarvester -d yale.edu -b dnsdumpster
continue-on-error: true

- name: Run theHarvester module DuckDuckGo
run: |
theHarvester -d yale.edu -b duckduckgo
continue-on-error: true

- name: Run theHarvester module HackerTarget
run: |
theHarvester -d yale.edu -b hackertarget
continue-on-error: true

- name: Run theHarvester module Intelx
run: |
theHarvester -d yale.edu -b intelx
continue-on-error: true

- name: Run theHarvester module Otx
run: |
theHarvester -d yale.edu -b otx
continue-on-error: true

- name: Run theHarvester module RapidDns
run: |
theHarvester -d yale.edu -b rapiddns
continue-on-error: true

- name: Run theHarvester module Threatminer
run: |
theHarvester -d yale.edu -b threatminer
continue-on-error: true

- name: Run theHarvester module Urlscan
run: |
theHarvester -d yale.edu -b urlscan
continue-on-error: true

- name: Run theHarvester module Yahoo
run: |
theHarvester -d yale.edu -b yahoo
continue-on-error: true

- name: Run theHarvester module DNS brute force
run: |
theHarvester -d yale.edu -c
continue-on-error: true

- name: Static type checking with mypy
run: |
mypy --pretty theHarvester/*/*.py
mypy --pretty theHarvester/*/*/*.py
continue-on-error: true

0 comments on commit dd3bef6

Please sign in to comment.