Skip to content

Merge pull request #2 from thewebscraping/standard-dbs #31

Merge pull request #2 from thewebscraping/standard-dbs

Merge pull request #2 from thewebscraping/standard-dbs #31

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
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: |
python -m pip install --upgrade pip
pip install -e ".[all,dev]"
- name: Run tests
run: |
pytest tests/
- name: Install uv
run: pip install uv
- name: Run pre-commit
run: uv run pre-commit run --all-files
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install mkdocs-material mkdocstrings[python]
pip install -e ".[all]"
- name: Build docs
run: |
mkdocs build