generated from oracle/template-repo
-
Notifications
You must be signed in to change notification settings - Fork 6
36 lines (36 loc) · 1011 Bytes
/
graalpy-starter.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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