Skip to content

Add contact_card for ARIN #13

Add contact_card for ARIN

Add contact_card for ARIN #13

Workflow file for this run

name: CI
on:
push:
branches: [ main, develop ]
pull_request:
branches: [ main, develop ]
jobs:
lint-and-type-check:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.13"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install uv
uses: astral-sh/setup-uv@v3
with:
version: "latest"
- name: Install dependencies
run: |
uv sync --all-extras --dev
uv pip install -e .
- name: Run Ruff format check
run: |
uv run ruff format --check .
- name: Run Ruff lint
run: |
uv run ruff check .
- name: Run Pyright type check
run: |
uv run pyright
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.13"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install uv
uses: astral-sh/setup-uv@v3
with:
version: "latest"
- name: Install dependencies
run: |
uv sync --all-extras --dev
uv pip install -e .
- name: Run tests
run: |
uv run pytest tests/ -v