Upgrade Gradle to 8.11.1 version (#264) #1224
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: Verify | |
on: | |
push | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 1 | |
- name: Install Java | |
uses: actions/setup-java@v4 | |
with: | |
java-version: "17" | |
distribution: "temurin" | |
- name: Run unit tests | |
run: ./gradlew test | |
- name: Upload the JUnit test report (visible in the Artifacts section on Summary page) | |
uses: actions/upload-artifact@v4 | |
if: failure() | |
with: | |
name: JUnit-test-report | |
path: build/reports/tests/test | |
retention-days: 5 | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 1 | |
- name: Install Java | |
uses: actions/setup-java@v4 | |
with: | |
java-version: "17" | |
distribution: "temurin" | |
- name: Run lint check | |
run: ./gradlew ktlintCheck | |
e2e-test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 1 | |
- name: Install Java | |
uses: actions/setup-java@v4 | |
with: | |
java-version: "17" | |
distribution: "temurin" | |
- name: Run Datadog synthetic test | |
env: | |
DD_API_KEY: ${{ secrets.DD_API_KEY }} | |
DD_APP_KEY: ${{ secrets.DD_APP_KEY }} | |
run: ./gradlew e2eTest --stacktrace | |
- name: Upload the E2E test report (visible in the Artifacts section on Summary page) | |
uses: actions/upload-artifact@v4 | |
if: failure() | |
with: | |
name: E2E-test-report | |
path: build/reports/tests/e2eTest | |
retention-days: 5 |