Install vignette test dependencies #5
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Canonical vignette examples | |
| on: | |
| pull_request: | |
| push: | |
| permissions: | |
| contents: read | |
| jobs: | |
| canonical-vignettes: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Run canonical vignette checks | |
| env: | |
| REPOSITORY: ${{ github.repository }} | |
| REF_NAME: ${{ github.head_ref || github.ref_name }} | |
| run: | | |
| git clone -q --depth 1 --branch "$REF_NAME" "https://github.com/$REPOSITORY.git" repo | |
| cd repo | |
| python -m pip install -q -e . pytest hypothesis pytest-benchmark pytest-xdist | |
| python -m pytest -q tests/docs/test_canonical_vignette_manifest.py tests/docs/test_vignette_examples.py |