Skip to content

Commit 27bce74

Browse files
committed
tests: run mdformat-gfm tests
1 parent 316094e commit 27bce74

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/tests.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,29 @@ jobs:
5959
with:
6060
token: ${{ secrets.CODECOV_TOKEN }}
6161

62+
# Run mdformat-gfm's tests to catch issues like https://github.com/hukkin/mdformat/issues/501.
63+
test-gfm-plugin:
64+
runs-on: ubuntu-latest
65+
continue-on-error: true
66+
67+
steps:
68+
- uses: actions/setup-python@v5
69+
with:
70+
python-version: '3.x'
71+
- uses: actions/checkout@v4
72+
with:
73+
path: mdformat/
74+
- uses: actions/checkout@v4
75+
with:
76+
repository: hukkin/mdformat-gfm
77+
path: mdformat-gfm/
78+
- run: |
79+
pip install pytest
80+
pip install --editable mdformat-gfm/
81+
pip install --force-reinstall --editable mdformat/
82+
- run: |
83+
pytest mdformat-gfm/
84+
6285
allgood:
6386
runs-on: ubuntu-latest
6487
needs:

0 commit comments

Comments
 (0)