Skip to content

Add compiler plugin for python-markdown #4

Add compiler plugin for python-markdown

Add compiler plugin for python-markdown #4

name: Check PR Format and Test for python-markdown-extension
on:
pull_request:
branches:
- master
paths:
- python-markdown-extension/**
jobs:
check-format:
name: Check PR Format
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
name: Checkout Repo
- uses: eifinger/setup-rye@v3
name: Setup Rye
with:
enable-cache: true
working-directory: python-markdown-extension
- run: |
cd python-markdown-extension
rye fmt --check
name: Check Format
test:
name: Test PR
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
name: Checkout Repo
- uses: eifinger/setup-rye@v3
name: Setup Rye
with:
enable-cache: true
working-directory: python-markdown-extension
- run: |
cd python-markdown-extension
rye run test
name: Run Tests