Skip to content

Commit

Permalink
remove last step as is not needed
Browse files Browse the repository at this point in the history
Signed-off-by: Alfredo Gutierrez <[email protected]>
  • Loading branch information
AlfredoG87 committed Aug 16, 2024
1 parent afbace2 commit 923ab74
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions .github/workflows/smoke-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 923ab74

Please sign in to comment.