Skip to content

Upgrade all demos and guides to 24.1.1. #11

Upgrade all demos and guides to 24.1.1.

Upgrade all demos and guides to 24.1.1. #11

name: Test GraalPy Starter
on:
push:
paths:
- 'graalpy/graalpy-starter/**'
- '.github/workflows/graalpy-starter.yml'
pull_request:
paths:
- 'graalpy/graalpy-starter/**'
- '.github/workflows/graalpy-starter.yml'
workflow_dispatch:
permissions:
contents: read
jobs:
run:
name: 'graalpy-starter'
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-starter' using Maven
run: |
cd graalpy/graalpy-starter
./mvnw --no-transfer-progress test
./mvnw --no-transfer-progress exec:java
- name: Build, test, and run 'graalpy-starter' using Gradle
run: |
cd graalpy/graalpy-starter
./gradlew test
./gradlew run