From 6e868417d79d96a5670a7f473b6e82a034e50f02 Mon Sep 17 00:00:00 2001 From: tidusjar Date: Thu, 11 Mar 2021 10:03:12 +0000 Subject: [PATCH] revert --- .github/workflows/cypress.yml | 32 ++------------------------------ 1 file changed, 2 insertions(+), 30 deletions(-) diff --git a/.github/workflows/cypress.yml b/.github/workflows/cypress.yml index ba481f2be..1c494f131 100644 --- a/.github/workflows/cypress.yml +++ b/.github/workflows/cypress.yml @@ -7,7 +7,7 @@ on: branches: [ feature/ui-automation ] jobs: - install: + automation-tests: runs-on: ubuntu-latest @@ -25,6 +25,7 @@ jobs: with: path: | '**/node_modules' + '/home/runner/.cache/Cypress' key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }} - name: Install Frontend Deps @@ -33,48 +34,19 @@ jobs: - name: Install Automation Deps run: yarn --cwd ./tests install - cypress-tests: - - runs-on: ubuntu-latest - needs: install - strategy: - fail-fast: false - matrix: - containers: [1] - - steps: - - uses: actions/checkout@v2 - - name: Setup .NET - uses: actions/setup-dotnet@v1 - with: - dotnet-version: 5.0.x - - uses: actions/setup-node@v2 - with: - node-version: '14' - - uses: actions/cache@v2 - with: - path: | - '**/node_modules' - key: ${{ runner.os }}-modules-${{ hashFiles('**/**.lock') }} - - name: Start Backend run: | nohup dotnet 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: - install: false record: true browser: chrome headless: true working-directory: tests - group: "UI - Chrome" - parallel: true wait-on: http://localhost:3577/ # 7 minutes wait-on-timeout: 420