-
Notifications
You must be signed in to change notification settings - Fork 29
40 lines (33 loc) · 988 Bytes
/
e2e.yml
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
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