-
Notifications
You must be signed in to change notification settings - Fork 91
39 lines (32 loc) · 949 Bytes
/
e2e.yaml
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
name: e2e process
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
schedule:
- cron: "5 * * * *"
branches: [master, scheduled_e2_testing]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 8
uses: actions/setup-java@v4
with:
java-version: '8'
distribution: 'temurin'
cache: maven
- id: spotless
run: mvn spotless:check animal-sniffer:check test verify
# - if: failure()
# name: Test Spotless Failed
# run: |
# wget https://raw.githubusercontent.com/segmentio/circleci-notifications/master/slack-notify-branch.sh
# chmod u+x slack-notify-branch.sh
# BUILD_STATUS="Failed" NOTIFY_BRANCH="master" ./slack-notify-branch.sh
- if: steps.spotless.conclusion == 'success'
run: mvn -B package
- name: Run script e2e.sh
run: .buildscript/e2e.sh