mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-20 13:23:20 -07:00
revert
This commit is contained in:
parent
b32b4cf3ed
commit
6e868417d7
1 changed files with 2 additions and 30 deletions
32
.github/workflows/cypress.yml
vendored
32
.github/workflows/cypress.yml
vendored
|
@ -7,7 +7,7 @@ on:
|
||||||
branches: [ feature/ui-automation ]
|
branches: [ feature/ui-automation ]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
install:
|
automation-tests:
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
@ -25,6 +25,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
'**/node_modules'
|
'**/node_modules'
|
||||||
|
'/home/runner/.cache/Cypress'
|
||||||
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
|
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
|
||||||
|
|
||||||
- name: Install Frontend Deps
|
- name: Install Frontend Deps
|
||||||
|
@ -33,48 +34,19 @@ jobs:
|
||||||
- name: Install Automation Deps
|
- name: Install Automation Deps
|
||||||
run: yarn --cwd ./tests install
|
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
|
- name: Start Backend
|
||||||
run: |
|
run: |
|
||||||
nohup dotnet run -p ./src/Ombi -- --host http://*:3577 &
|
nohup dotnet run -p ./src/Ombi -- --host http://*:3577 &
|
||||||
|
|
||||||
- name: Start Frontend
|
- name: Start Frontend
|
||||||
run: |
|
run: |
|
||||||
nohup yarn --cwd ./src/Ombi/ClientApp start &
|
nohup yarn --cwd ./src/Ombi/ClientApp start &
|
||||||
|
|
||||||
- name: Cypress Tests
|
- name: Cypress Tests
|
||||||
uses: cypress-io/github-action@v2.8.2
|
uses: cypress-io/github-action@v2.8.2
|
||||||
with:
|
with:
|
||||||
install: false
|
|
||||||
record: true
|
record: true
|
||||||
browser: chrome
|
browser: chrome
|
||||||
headless: true
|
headless: true
|
||||||
working-directory: tests
|
working-directory: tests
|
||||||
group: "UI - Chrome"
|
|
||||||
parallel: true
|
|
||||||
wait-on: http://localhost:3577/
|
wait-on: http://localhost:3577/
|
||||||
# 7 minutes
|
# 7 minutes
|
||||||
wait-on-timeout: 420
|
wait-on-timeout: 420
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue