From fa416e1773bb947de259606facb2118b8ce2afb1 Mon Sep 17 00:00:00 2001 From: tidusjar Date: Tue, 9 Mar 2021 16:06:12 +0000 Subject: [PATCH] nohup hup hup --- .github/workflows/cypress.yml | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/.github/workflows/cypress.yml b/.github/workflows/cypress.yml index 0c23c5d0e..413bfcae7 100644 --- a/.github/workflows/cypress.yml +++ b/.github/workflows/cypress.yml @@ -24,25 +24,21 @@ jobs: - name: Install FrontEnd Deps run: yarn --cwd ./src/Ombi/ClientApp install - - name: Start Server + - name: Start Backend run: | - screen & - dotnet run -p ./src/Ombi -- --host http://*:3577 & - screen -r & - screen & - yarn --cwd ./src/Ombi/ClientApp start - screen -r - - - name: Sleep while BE & FE run - uses: jakejarvis/wait-action@master - with: - time: '7m' + nohup run -p ./src/Ombi -- --host http://*:3577 + + - name: Start Frontend + run: | + nohup yarn --cwd ./src/Ombi/ClientApp start + - name: Cypress Tests uses: cypress-io/github-action@v2.8.2 with: browser: chrome headless: true project: ./tests + wait-on: http://localhost:3577/ env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}