theHarvester/.github/workflows/theHarvester.yml

113 lines
3.3 KiB
YAML
Raw Normal View History

---
2019-09-04 05:32:29 +08:00
name: TheHarvester Python CI
2019-08-28 07:01:20 +08:00
on:
push:
branches:
- '*'
2019-09-01 08:44:54 +08:00
2019-09-01 08:41:23 +08:00
pull_request:
branches:
- '*'
2021-01-09 03:37:05 +08:00
2019-08-28 07:01:20 +08:00
jobs:
Python:
runs-on: ${{ matrix.os }}
2019-08-28 07:01:20 +08:00
strategy:
max-parallel: 10
2019-08-28 07:01:20 +08:00
matrix:
os: [ ubuntu-latest, macos-latest ]
python-version: [ '3.11', '3.12', '3.13' ]
2019-08-28 07:01:20 +08:00
steps:
- uses: actions/checkout@v4
- name: Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install --upgrade pip
pip install .[dev]
continue-on-error: ${{ matrix.python-version == '3.13' }}
- name: Lint with ruff
2023-07-26 23:46:20 +08:00
run: |
2024-11-24 13:22:55 +08:00
ruff check --fix
continue-on-error: ${{ matrix.python-version == '3.13' }}
- name: Format with ruff
2023-07-26 23:46:20 +08:00
run: |
2024-11-24 13:22:55 +08:00
ruff format
continue-on-error: ${{ matrix.python-version == '3.13' }}
- name: Test with pytest
run: |
pytest
continue-on-error: ${{ matrix.python-version == '3.13' }}
- name: Run theHarvester module Anubis
run: |
theHarvester -d apple.com -b anubis
continue-on-error: ${{ matrix.python-version == '3.13' }}
- name: Run theHarvester module Baidu
run: |
theHarvester -d yale.edu -b baidu
continue-on-error: ${{ matrix.python-version == '3.13' }}
- name: Run theHarvester module Bing
run: |
theHarvester -d yale.edu -b bing
continue-on-error: ${{ matrix.python-version == '3.13' }}
- name: Run theHarvester module CertSpotter
run: |
theHarvester -d yale.edu -b certspotter
continue-on-error: ${{ matrix.python-version == '3.13' }}
- name: Run theHarvester module Crtsh
run: |
theHarvester -d hcl.com -b crtsh
continue-on-error: ${{ matrix.python-version == '3.13' }}
- name: Run theHarvester module DuckDuckGo
run: |
theHarvester -d yale.edu -b duckduckgo
continue-on-error: ${{ matrix.python-version == '3.13' }}
- name: Run theHarvester module HackerTarget
run: |
theHarvester -d yale.edu -b hackertarget
continue-on-error: ${{ matrix.python-version == '3.13' }}
- name: Run theHarvester module Otx
run: |
theHarvester -d yale.edu -b otx
continue-on-error: ${{ matrix.python-version == '3.13' }}
- name: Run theHarvester module RapidDns
run: |
theHarvester -d yale.edu -b rapiddns
continue-on-error: ${{ matrix.python-version == '3.13' }}
- name: Run theHarvester module Threatminer
run: |
theHarvester -d yale.edu -b threatminer
continue-on-error: ${{ matrix.python-version == '3.13' }}
- name: Run theHarvester module Urlscan
run: |
theHarvester -d yale.edu -b urlscan
continue-on-error: ${{ matrix.python-version == '3.13' }}
- name: Run theHarvester module Yahoo
run: |
theHarvester -d yale.edu -b yahoo
continue-on-error: ${{ matrix.python-version == '3.13' }}
- name: Run theHarvester module DNS brute force
run: |
theHarvester -d yale.edu -c
continue-on-error: ${{ matrix.python-version == '3.13' }}