Skip to content

Upgrade AsciiDoctrine dependency to 0.1.0a10 and restore syntax error… #13

Upgrade AsciiDoctrine dependency to 0.1.0a10 and restore syntax error…

Upgrade AsciiDoctrine dependency to 0.1.0a10 and restore syntax error… #13

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
lint:
name: Lint & Type Check
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Set up Python 3.14
uses: actions/setup-python@v5
with:
python-version: "3.14"
cache: "pip"
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -e .[lint]
- name: Run Ruff
run: ruff check src/ tests/
- name: Run MyPy
run: mypy src/
test:
name: Test Suite (Python 3.14)
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Set up Python 3.14
uses: actions/setup-python@v5
with:
python-version: "3.14"
cache: "pip"
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -e .[test]
- name: Run Pytest & Measure Coverage
run: |
PYTHONPATH=src pytest --cov=src --cov-report=term-missing
build:
name: Build & Verify Package Distribution
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Set up Python 3.14
uses: actions/setup-python@v5
with:
python-version: "3.14"
cache: "pip"
- name: Install Build and Twine Tools
run: |
python -m pip install --upgrade pip
python -m pip install build twine
- name: Build Package
run: python -m build
- name: Check Package Distribution
run: twine check dist/*