Skip to content

Mistune 3 parser refactor + CI tooling #8

Mistune 3 parser refactor + CI tooling

Mistune 3 parser refactor + CI tooling #8

Workflow file for this run

name: CI
on:
workflow_dispatch:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
push:
branches: [master]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
cache: "pip"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install .[tests]
- name: Format check
run: python -m autopep8 --exit-code --diff --max-line-length 120 -r sdiff tests
- name: Lint
run: python -m flake8 --config .flake8 sdiff tests
- name: Test
run: python -m coverage run -m pytest -s --durations=3 --durations-min=0.005
- name: Coverage report
run: python -m coverage report -m