Skip to content

Update workflows to test gradle examples for graalpy #38

Update workflows to test gradle examples for graalpy

Update workflows to test gradle examples for graalpy #38

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 "{}" "+"