From 42a08de006d4585a02e6da3cc3a8dafac51270c7 Mon Sep 17 00:00:00 2001 From: XinRan Zhang Date: Tue, 9 Jan 2024 09:46:38 -0800 Subject: [PATCH] Dry run validator before pull request (#690) * Create test_validator * Rename test_validator to test_validator.yml * Update appsignals-e2e-ec2-test.yml * Update appsignals-e2e-ec2-canary-test.yml * Update appsignals-e2e-eks-canary-test.yml * add option to allow validator dry run compile * allow test validator dry run * allow test validator dry run * allow test validator dry run * allow test validator dry run * allow test validator dry run * allow test validator dry run * Allow PR-build test to test validator success to build * Revert change in E2E Test * Revert unneeded change * Revert unneeded change * Use Gradle-Build-Action instead of run command * delete unneeded indent * delete unneeded indent * delete unneeded indent --- .github/workflows/pr-build.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/pr-build.yml b/.github/workflows/pr-build.yml index 40f8025aeb..9de0de0074 100644 --- a/.github/workflows/pr-build.yml +++ b/.github/workflows/pr-build.yml @@ -75,6 +75,12 @@ jobs: uses: ./.github/actions/patch-dependencies if: ${{ matrix.os != 'windows-latest' }} # Skip patch on windows as it is not possible to build opentelemetry-java on windows + - name: Dry Run Validator + uses: gradle/gradle-build-action@v2 + if: ${{ matrix.os == 'ubuntu-latest' }} + with: + arguments: testing:validator:build + - name: Build with Gradle with Integration tests uses: gradle/gradle-build-action@v2 if: ${{ matrix.os == 'ubuntu-latest' }}