From 923ab743171379277cc0f89e1833196465ab9624 Mon Sep 17 00:00:00 2001 From: Alfredo Gutierrez Date: Thu, 15 Aug 2024 19:39:06 -0600 Subject: [PATCH] remove last step as is not needed Signed-off-by: Alfredo Gutierrez --- .github/workflows/smoke-test.yaml | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/.github/workflows/smoke-test.yaml b/.github/workflows/smoke-test.yaml index a6a6de3df..542eeda1c 100644 --- a/.github/workflows/smoke-test.yaml +++ b/.github/workflows/smoke-test.yaml @@ -79,27 +79,15 @@ jobs: - name: Build application run: ${{ env.GRADLE_EXEC }} build - - name: Run application in background, capture logs, and save PID in a variable + - name: Run application in background, capture logs in app.log run: | ${{ env.GRADLE_EXEC }} run 2> server/src/test/resources/app.log < /dev/null & - APP_PID=$! echo "Application started with PID $APP_PID" sleep 10 - name: Print App Logs run: cat server/src/test/resources/app.log - - - name: Print Working Directory - working-directory: server/src/test/resources/ - run: pwd - - - name: List Files in Working Directory - working-directory: server/src/test/resources/ - run: ls -la - name: Smoke Test working-directory: server/src/test/resources/ run: ./smoke-test.sh app.log - - - name: Kill application - run: kill $APP_PID