-
Notifications
You must be signed in to change notification settings - Fork 157
40 lines (40 loc) · 1.11 KB
/
graalpy-notebook-example.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
37
38
39
40
name: graalpy-notebook-example
on:
push:
paths:
- 'graalpy-notebook-example/**'
- '.github/workflows/graalpy-notebook-example.yml'
pull_request:
paths:
- 'graalpy-notebook-example/**'
- '.github/workflows/graalpy-notebook-example.yml'
schedule:
- cron: "0 0 1 * *" # run every month
workflow_dispatch:
permissions:
contents: read
jobs:
run:
name: Run 'graalpy-notebook-example'
runs-on: ubuntu-latest
timeout-minutes: 40
strategy:
matrix:
include:
- version: '22.3.1' # temporarily locked to 22.3.1
java-version: '17'
steps:
- uses: actions/checkout@v3
- uses: graalvm/setup-graalvm@v1
with:
version: ${{ matrix.version }}
java-version: ${{ matrix.java-version }}
components: 'python'
github-token: ${{ secrets.GITHUB_TOKEN }}
cache: 'maven'
- name: Run 'graalpy-notebook-example'
run: |
cd graalpy-notebook-example
mvn --no-transfer-progress compile
./install-deps.sh
# mvn exec:java (skip running the example)