-
Notifications
You must be signed in to change notification settings - Fork 106
59 lines (50 loc) · 1.75 KB
/
test-java-nightly.yml
File metadata and controls
59 lines (50 loc) · 1.75 KB
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
name: Java SLT Nightly
on:
schedule:
- cron: "30 11 * * *" # 11:30 AM UTC daily
jobs:
java-tests:
name: Execute Java SLT
strategy:
matrix:
include:
- runner: [k8s-runners-amd64]
arch: x86_64
target: x86_64-unknown-linux-gnu
- runner: [k8s-runners-arm64]
arch: aarch64
target: aarch64-unknown-linux-gnu
runs-on: ${{ matrix.runner }}
container:
image: ghcr.io/feldera/feldera-dev:sha-db53e1302c944e29edd6d2af516fff7032b90e3b
steps:
- name: Show Kubernetes node
if: always()
run: |
echo "K8S node: ${K8S_NODE_NAME}"
- name: Checkout repository
uses: actions/checkout@v6
- name: Cache Rust dependencies
uses: Swatinem/rust-cache@v2
- uses: actions/cache@v5
with:
path: |
/home/ubuntu/.gradle
./sql-to-dbsp-compiler/calcite
key: sql2dbsp-java-cache2-${{ runner.os }}-${{ hashFiles('sql-to-dbsp-compiler/calcite_version.env') }}
restore-keys: |
sql2dbsp-java-cache2-${{ runner.os }}-
# TODO: Avoid doing this twice and ideally download & reuse the JAR from build-java.yml workflow
- name: Run build.sh
if: ${{ vars.CI_DRY_RUN != 'true' }}
run: ./build.sh
working-directory: ./sql-to-dbsp-compiler
env:
CALCITE_BUILD_DIR: ./calcite
GRADLE_HOME: /home/ubuntu/.gradle
- name: Stop gradle daemon
run: gradle --stop
- name: Run SLT tests
if: ${{ vars.CI_DRY_RUN != 'true' }}
run: mvn test --no-transfer-progress -q -B -Dsurefire.failIfNoSpecifiedTests=false -Dtest="RotateTests#rotate"
working-directory: ./sql-to-dbsp-compiler