File tree Expand file tree Collapse file tree 3 files changed +63
-5
lines changed
Expand file tree Collapse file tree 3 files changed +63
-5
lines changed Original file line number Diff line number Diff line change 1+ name : Notify Failures To Slack
2+ on :
3+ workflow_run :
4+ workflows : ["Java SLT Nightly"]
5+ types : [completed]
6+ branches :
7+ - main
8+
9+ jobs :
10+ on-failure :
11+ runs-on : ubuntu-latest
12+ if : github.event.workflow_run.conclusion == 'failure' || github.event.workflow_run.conclusion == 'timed_out'
13+ steps :
14+ - uses : ravsamhq/notify-slack-action@v2
15+ with :
16+ status : ${{ github.event.workflow_run.conclusion }}
17+ notification_title : " ${{github.event.workflow_run.name}} - ${{github.event.workflow_run.conclusion}} on ${{github.event.workflow_run.head_branch}} - <${{github.server_url}}/${{github.repository}}/actions/runs/${{github.event.workflow_run.id}}|View Failure>"
18+ message_format : " :fire: *${{github.event.workflow_run.name}}* ${{github.event.workflow_run.conclusion}} in <${{github.server_url}}/${{github.repository}}/${{github.event.workflow_run.head_branch}}|${{github.repository}}>"
19+ footer : " Linked Repo <${{github.server_url}}/${{github.repository}}|${{github.repository}}> | <${{github.server_url}}/${{github.repository}}/actions/runs/${{github.event.workflow_run.id}}|View Failure>"
20+ env :
21+ SLACK_WEBHOOK_URL : ${{ secrets.CI_FAILURE_TO_SLACK_WEBHOOK }}
Original file line number Diff line number Diff line change 1+ name : Java SLT Nightly
2+
3+ on :
4+ schedule :
5+ - cron : " 30 11 * * *" # 11:30 AM UTC daily
6+
7+ jobs :
8+ java-tests :
9+ name : Execute Java SLT
10+ runs-on : [self-hosted, skylake40]
11+ container :
12+ image : ghcr.io/feldera/feldera-dev:f4797ad926773a38483275405728a9eb3b9005b5
13+ options : --user=ubuntu
14+ steps :
15+ - name : Checkout repository
16+ uses : actions/checkout@v4
17+
18+ # The docker container when executed in the action runs with a different home directory
19+ # than we set in the dev container (?), hence this step is necessary (sigh)
20+ # https://github.com/actions/runner/issues/863
21+ - name : Rustup set default toolchain
22+ run : rustup default stable
23+
24+ - name : Cache Rust dependencies
25+ uses : Swatinem/rust-cache@v2
26+
27+ - name : Cache Maven dependencies
28+ uses : actions/cache@v4
29+ with :
30+ path : ~/.m2/repository
31+ key : maven-${{ runner.os }}-${{ hashFiles('**/pom.xml') }}
32+ restore-keys : |
33+ maven-${{ runner.os }}-
34+
35+ # TODO: Avoid doing this twice and ideally download & reuse the JAR from build-java.yml workflow
36+ - name : Run build.sh
37+ run : ./build.sh
38+ working-directory : ./sql-to-dbsp-compiler
39+
40+ - name : Run SLT tests
41+ run : mvn test --no-transfer-progress -q -B -Dsurefire.failIfNoSpecifiedTests=false -Dtest=RotateTests
42+ working-directory : ./sql-to-dbsp-compiler
Original file line number Diff line number Diff line change 3939 - name : Run mvn test
4040 run : mvn test --no-transfer-progress -q -B -pl SQL-compiler -Dsurefire.failIfNoSpecifiedTests=false -Dtest=!OtherTests.rustFmt
4141 working-directory : ./sql-to-dbsp-compiler
42-
43- - name : Run SLT tests
44- run : mvn test --no-transfer-progress -q -B -Dsurefire.failIfNoSpecifiedTests=false -Dtest=RotateTests
45- working-directory : ./sql-to-dbsp-compiler
46-
You can’t perform that action at this time.
0 commit comments