Skip to content

update docs to latest DBDuck version Documentation info #39

update docs to latest DBDuck version Documentation info

update docs to latest DBDuck version Documentation info #39

Workflow file for this run

name: CI
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
workflow_dispatch:
permissions:
contents: read
concurrency:
group: ci-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
tests:
name: Python ${{ matrix.python-version }}
runs-on: ubuntu-latest
timeout-minutes: 20
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12"]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: pip
cache-dependency-path: pyproject.toml
- name: Install package and test dependencies
run: |
python -m pip install --upgrade pip
python -m pip install ".[dev]"
- name: Run tests
run: python -m pytest -q
security:
name: Security
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
cache: pip
cache-dependency-path: pyproject.toml
- name: Install security tools
run: python -m pip install --upgrade bandit pip-audit
- name: Audit runtime dependencies
run: python -m pip_audit . --desc=off --progress-spinner=off
- name: Scan source code
run: python -m bandit -r DBDuck
package:
name: Package
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
cache: pip
cache-dependency-path: pyproject.toml
- name: Build and validate distributions
run: |
python -m pip install --upgrade build twine
python -m build
python -m twine check dist/*