π΅οΈββοΈ (2-in-1) Email & Username OSINT suite featuring native MCP support for deep data extraction just from a single Email/Username. Analyzes 2720+ actively maintained scan vectors (210+ email / 2510+ username) for security research, investigations, and digital footprinting.
Python cybersecuritycybersecurity-toolsemail-osintethical-hackingethical-hacking-toolsidentificationinfosecosintosint-emailosint-toolosint-toolsosint-usernamepentestingpythonredteam-toolsredteamingthreat-intelligence
add: ci.yml and lint.yml
kaifcodeceafcc0a0df7c
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlnew file mode 100644index 0000000..7c36498--- /dev/null+++ b/.github/workflows/ci.yml@@ -0,0 +1,84 @@+on:+ push:+ branches: [ main ]+ pull_request:+ branches: [ main ]++permissions:+ contents: read++jobs:+ test:+ name: Test (pytest + coverage) β ${{ matrix.python-version }}+ runs-on: ubuntu-latest+ strategy:+ matrix:+ python-version: [3.10]+ steps:+ - name: Checkout+ uses: actions/checkout@v4++ - name: Set up Python+ uses: actions/setup-python@v4+ with:+ python-version: ${{ matrix.python-version }}++ - name: Show Python info+ run: |+ python --version+ which python+ python -m pip --version++ - name: Cache pip+ uses: actions/cache@v4+ with:+ path: ~/.cache/pip+ key: ${{ runner.os }}-pip-${{ hashFiles('**/pyproject.toml', '**/requirements*.txt') }}+ restore-keys: |+ ${{ runner.os }}-pip-++ - name: Install package & test deps+ run: |+ python -m pip install --upgrade pip+ pip install .+ pip install pytest pytest-cov++ - name: Show installed packages (top)+ run: |+ pip freeze | sed -n '1,200p'++ - name: Run pytest (verbose) with coverage and generate JUnit XML+ run: |+ mkdir -p test-output+ pytest -vv --maxfail=1 --disable-warnings \+ --junitxml=test-output/report.xml \+ --cov=user_scanner --cov-report=xml:test-output/coverage.xml --cov-report=term++ - name: Show pytest junit xml (head)+ if: always()+ run: |+ echo "==== JUnit report (head) ===="+ sed -n '1,200p' test-output/report.xml || true+ echo "==== JUnit report (tail) ===="+ sed -n '200,400p' test-output/report.xml || true++ - name: Show coverage xml (head)+ if: always()+ run: |+ echo "==== Coverage XML (head) ===="+ sed -n '1,200p' test-output/coverage.xml || true++ - name: Upload test & coverage artifacts+ if: always()+ uses: actions/upload-artifact@v4+ with:+ name: test-reports-${{ matrix.python-version }}+ path: test-output++ - name: (Optional) Upload coverage to Codecov+ if: success() && secrets.CODECOV_TOKEN+ uses: codecov/codecov-action@v4+ with:+ files: test-output/coverage.xml+ env:+ CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.ymlnew file mode 100644index 0000000..e629578--- /dev/null+++ b/.github/workflows/lint.yml@@ -0,0 +1,53 @@+on:+ pull_request:+ branches: [ main ]+ push:+ branches: [ main ]++permissions:+ contents: read++jobs:+ lint:+ name: Lint & types (ruff + mypy)+ runs-on: ubuntu-latest+ strategy:+ matrix:+ python-version: [3.11]+ steps:+ - name: Checkout+ uses: actions/checkout@v4++ - name: Set up Python+ uses: actions/setup-python@v4+ with:+ python-version: ${{ matrix.python-version }}++ - name: Install linters+ run: |+ python -m pip install --upgrade pip+ pip install ruff mypy++ - name: Show installed linters+ run: |+ ruff --version || true+ mypy --version || true+ pip freeze | sed -n '1,200p'++ - name: Run ruff (style/lint)+ run: |+ echo "==== Running ruff ===="+ ruff check . || { echo "Ruff failed"; exit 1; }++ - name: Run mypy (type checks)+ run: |+ echo "==== Running mypy ===="+ mypy user_scanner || { echo "Mypy found issues"; exit 1; }++ - name: Upload lint logs+ if: always()+ uses: actions/upload-artifact@v4+ with:+ name: lint-logs+ path: |+ .