Add gradle plugin to GraalPy demos #19
Workflow file for this run
This file contains 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: Test GraalPy Java SE Guide | |
on: | |
push: | |
paths: | |
- 'graalpy/graalpy-javase-guide/**' | |
- '.github/workflows/graalpy-javase-guide.yml' | |
pull_request: | |
paths: | |
- 'graalpy/graalpy-javase-guide/**' | |
- '.github/workflows/graalpy-javase-guide.yml' | |
workflow_dispatch: | |
permissions: | |
contents: read | |
jobs: | |
run: | |
name: 'graalpy-javase-guide' | |
runs-on: ubuntu-latest | |
timeout-minutes: 15 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: graalvm/setup-graalvm@v1 | |
with: | |
java-version: '23.0.1' | |
distribution: 'graalvm' | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
cache: 'maven' | |
- name: Build, test, and run 'graalpy-javase-guide' using Maven | |
run: | | |
cd graalpy/graalpy-javase-guide | |
./mvnw --no-transfer-progress compile | |
xvfb-run ./mvnw --no-transfer-progress exec:java -Dexec.mainClass=org.example.App -Dgraalpy.resources=./python-resources & | |
sleep 20 |