1 parent bcc74bd commit 5ef4062Copy full SHA for 5ef4062
1 file changed
.github/workflows/canonical-vignettes.yml
@@ -0,0 +1,22 @@
1
+name: Canonical vignette examples
2
+
3
+on:
4
+ pull_request:
5
+ push:
6
7
+permissions:
8
+ contents: read
9
10
+jobs:
11
+ canonical-vignettes:
12
+ runs-on: ubuntu-latest
13
+ steps:
14
+ - name: Run canonical vignette checks
15
+ env:
16
+ REPOSITORY: ${{ github.repository }}
17
+ REF_NAME: ${{ github.head_ref || github.ref_name }}
18
+ run: |
19
+ git clone -q --depth 1 --branch "$REF_NAME" "https://github.com/$REPOSITORY.git" repo
20
+ cd repo
21
+ python -m pip install -q -e . pytest hypothesis pytest-benchmark pytest-xdist
22
+ python -m pytest -q tests/docs/test_canonical_vignette_manifest.py tests/docs/test_vignette_examples.py
0 commit comments