Skip to content

Bump version to 0.4 #13

Bump version to 0.4

Bump version to 0.4 #13

Workflow file for this run

name: Tests
on:
pull_request:
branches:
- "**"
jobs:
test:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version:
["3.8", "3.9", "3.10", "3.11", "pypy-3.8", "pypy-3.9", "pypy-3.10"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Setup 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 coverage markdown
- name: Run tests
run: |
coverage run test_gh_links.py
- name: Generate coverage report
if: success()
run: |
coverage xml
coverage report --show-missing --include=mdx_gh_links.py
- name: Upload Results
if: success()
uses: codecov/codecov-action@v3
with:
files: ./coverage.xml
flags: unittests
name: ${{ matrix.os }}/Python ${{ matrix.python-version }}
fail_ci_if_error: false
flake8:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: TrueBrain/actions-flake8@master
with:
max_line_length: 118
mdlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: DavidAnson/markdownlint-cli2-action@v14
with:
config: ".markdownlint.jsonc"
globs: "**/*.md"