Skip to content

Fix overzealous html decoding in mistune 2.x #145

Fix overzealous html decoding in mistune 2.x

Fix overzealous html decoding in mistune 2.x #145

Workflow file for this run

name: tests
on:
push:
branches-ignore:
- 'wip-*'
paths-ignore:
- 'docs/**'
pull_request:
branches-ignore:
- 'wip-*'
paths-ignore:
- 'docs/**'
jobs:
build:
runs-on: ubuntu-latest
container: ${{ matrix.image }}
strategy:
fail-fast: false
max-parallel: 6
matrix:
python: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14", "pypy3.11"]
include:
- {python: "2.7", image: "python:2.7"}
- {python: "3.7", image: "python:3.7"}
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
- name: Set up Python ${{ matrix.python }}
if: ${{ matrix.image == null }}
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
with:
python-version: ${{ matrix.python }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest pytest-cov
- name: Test with Python ${{ matrix.python }}
run: pytest --cov=mistune --cov-report=xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage.xml
flags: unittests
name: GitHub