Skip to content

Add compiler plugin for python-markdown #1

Add compiler plugin for python-markdown

Add compiler plugin for python-markdown #1

name: Check PR Format and Test for python-markdown-extension
on:
pull_request:
branches:
- master
paths:
- python-markdown-extension/**
jobs:
setup:
name: Setup Environment
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
name: Checkout Repo
- run: curl -sSf https://rye.astral.sh/get | RYE_INSTALL_OPTION="--yes" bash
name: Setup Rye
- run : rye sync
name: Install Dependencies
check-format:
name: Check PR Format
needs: setup
runs-on: ubuntu-latest
steps:
- run: rye fmt --check
name: Check Format
test:
name: Test PR
needs: setup
runs-on: ubuntu-latest
steps:
- run: rye run test
name: Run Tests