Skip to content

Merge pull request #10 from graalvm/tim/add-gradle-demos #57

Merge pull request #10 from graalvm/tim/add-gradle-demos

Merge pull request #10 from graalvm/tim/add-gradle-demos #57

name: Check Snippets in GraalPy Guides
on:
push:
paths:
- 'graalpy/**'
- '.github/workflows/graalpy-check-snippets.yml'
pull_request:
paths:
- 'graalpy/**'
- '.github/workflows/graalpy-check-snippets.yml'
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: graalpy-24.1
- name: Install dependencies
run: |
python -m pip install -r .github/scripts/requirements.txt
- name: Check README snippets
run: find graalpy -name "README.md" -exec python .github/scripts/check-snippets.py "{}" "+"