Merge pull request #326 from CyberFlameGO/patch-1 #360
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: DNSrecon CI | |
on: | |
push: | |
branches: | |
- '*' | |
pull_request: | |
branches: | |
- '*' | |
jobs: | |
Python: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
max-parallel: 8 | |
matrix: | |
os: [ubuntu-latest] | |
python-version: [3.11, 3.12] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up 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] | |
- name: Lint with ruff | |
run: | | |
ruff check | |
- name: Format with ruff | |
run: | | |
ruff format --check --diff | |
- name: Test with pytest | |
run: | | |
pytest |