E2E tests #581
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 tests | |
on: | |
schedule: | |
- cron: "0 6 * * MON" | |
push: | |
branches: | |
- master | |
- "e2e/**" | |
workflow_dispatch: | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout project with submodules | |
uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Setup JDK | |
uses: actions/setup-java@v4 | |
with: | |
java-version: 11 | |
distribution: 'zulu' | |
- uses: gradle/actions/setup-gradle@v4 | |
- name: Run sanity check | |
run: ./gradlew --stacktrace test | |
- name: Run E2E tests | |
env: | |
ORG_GRADLE_PROJECT_sonatypeUsernameE2E: ${{ secrets.SONATYPE_USERNAME_E2E }} | |
ORG_GRADLE_PROJECT_sonatypePasswordE2E: ${{ secrets.SONATYPE_PASSWORD_E2E }} | |
ORG_GRADLE_PROJECT_signingKeyE2E: ${{ secrets.GPG_SIGNING_KEY_E2E }} | |
ORG_GRADLE_PROJECT_signingPasswordE2E: ${{ secrets.GPG_SIGNING_KEY_PASSPHRASE_E2E }} | |
run: | | |
./gradlew --stacktrace -Pe2eVerboseOutput e2eTest |