From af4d4981dd0b5907ba8287f47ced80ec3bfc4eb8 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 c1eff47c51..04c01561a8 100644 --- a/.github/workflows/pr-build.yml +++ b/.github/workflows/pr-build.yml @@ -75,6 +75,12 @@ jobs: gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }} gpg_password: ${{ secrets.GPG_PASSPHRASE }} + - 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' }}