e2e process #13341
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |