From b795117f0ae363d821e07dd5d639ab4b61af50d2 Mon Sep 17 00:00:00 2001 From: amithkoujalgi Date: Tue, 11 Mar 2025 00:20:01 +0530 Subject: [PATCH] Add integration test step to CI workflow Previously, only unit tests were run during the PR workflow. This update introduces a separate step to run integration tests, ensuring broader test coverage. It enhances build verification by validating both unit and integration aspects. --- .github/workflows/build-on-pr-create.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-on-pr-create.yml b/.github/workflows/build-on-pr-create.yml index 62dca67..f935dda 100644 --- a/.github/workflows/build-on-pr-create.yml +++ b/.github/workflows/build-on-pr-create.yml @@ -30,5 +30,8 @@ jobs: - name: Build with Maven run: mvn --file pom.xml -U clean package - - name: Run Tests - run: mvn --file pom.xml -U clean test -Punit-tests \ No newline at end of file + - name: Run unit tests + run: mvn --file pom.xml -U clean test -Punit-tests + + - name: Run integration tests + run: mvn --file pom.xml -U clean verify -Pintegration-tests \ No newline at end of file