From 6fddd5b675ea78580c97ff0349349ac923fcbdfa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?JN=20Hern=C3=A1ndez?= Date: Tue, 14 May 2024 10:13:17 -0600 Subject: [PATCH] Troubleshooting PID --- .github/workflows/ci.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 85342b7..ef449df 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,8 +11,8 @@ on: workflow_dispatch: jobs: - compile-then-test: - name: Compile scala then run tests + compile-then-run-tests: + name: Compile scala then run server runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 @@ -38,15 +38,15 @@ jobs: - name: Run server run: | ./scripts/server >/dev/null 2>&1 & - SERVER_PID=$! + echo "SERVER_PID=$!" >> "$GITHUB_ENV" - - name: Run test script - run: | - sleep 15 - curl localhost:8090/pong + # - name: Run test script + # run: | + # sleep 15 + # curl localhost:8090/pong - name: Stop server run: | echo $SERVER_PID - kill $SERVER_PID + # kill $SERVER_PID