Skip to content

Commit

Permalink
tests: run mdformat-gfm tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hukkin committed Jan 2, 2025
1 parent 316094e commit 27bce74
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,29 @@ jobs:
with:
token: ${{ secrets.CODECOV_TOKEN }}

# Run mdformat-gfm's tests to catch issues like https://github.com/hukkin/mdformat/issues/501.
test-gfm-plugin:
runs-on: ubuntu-latest
continue-on-error: true

steps:
- uses: actions/setup-python@v5
with:
python-version: '3.x'
- uses: actions/checkout@v4
with:
path: mdformat/
- uses: actions/checkout@v4
with:
repository: hukkin/mdformat-gfm
path: mdformat-gfm/
- run: |
pip install pytest
pip install --editable mdformat-gfm/
pip install --force-reinstall --editable mdformat/
- run: |
pytest mdformat-gfm/
allgood:
runs-on: ubuntu-latest
needs:
Expand Down

0 comments on commit 27bce74

Please sign in to comment.