CI: Treat mdtest Markdown files as code (#14653)

## Summary

Make sure we run the tests for mdtest-only changes.

## Test Plan

Tested if positive glob patterns override negative patterns here:
https://codepen.io/mrmlnc/pen/OXQjMe
This commit is contained in:
David Peter 2024-11-28 10:04:20 +01:00 committed by GitHub
parent f1b2e85339
commit 8639f8c1a6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -82,6 +82,7 @@ jobs:
code:
- "**/*"
- "!**/*.md"
- "crates/red_knot_python_semantic/resources/mdtest/**/*.md"
- "!docs/**"
- "!assets/**"