mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-19 12:59:39 -07:00
split it all out again
This commit is contained in:
parent
bf2e5b4e4f
commit
c9c50db462
1 changed files with 26 additions and 1 deletions
27
.github/workflows/cypress.yml
vendored
27
.github/workflows/cypress.yml
vendored
|
@ -7,7 +7,7 @@ on:
|
||||||
branches: [ feature/ui-automation ]
|
branches: [ feature/ui-automation ]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
automation-tests:
|
install:
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
@ -34,19 +34,44 @@ 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
|
||||||
|
martix:
|
||||||
|
containers: [1]
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- uses: actions/cache@v2
|
||||||
|
with:
|
||||||
|
path: |
|
||||||
|
'/home/runner/.cache/Cypress'
|
||||||
|
'/home/runner/.cache/Cypress'
|
||||||
|
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