[Github CI][m]: Update cypress test cmd in CI
This commit is contained in:
parent
95a4227162
commit
6aec97a728
17
.github/workflows/examples-catalog-test.yml
vendored
17
.github/workflows/examples-catalog-test.yml
vendored
@ -1,4 +1,4 @@
|
|||||||
name: Jest-Tests
|
name: Portal-Catalog-Tests
|
||||||
on: push
|
on: push
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@ -13,3 +13,18 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
cd examples/catalog
|
cd examples/catalog
|
||||||
yarn test -u
|
yarn test -u
|
||||||
|
|
||||||
|
cypress-run:
|
||||||
|
runs-on: ubuntu-16.04
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v1
|
||||||
|
|
||||||
|
- name: Cypress run
|
||||||
|
uses: cypress-io/github-action@v2
|
||||||
|
with:
|
||||||
|
working-directory: examples/catalog
|
||||||
|
browser: chrome
|
||||||
|
build: yarn run build
|
||||||
|
start: yarn start
|
||||||
|
wait-on: "http://localhost:3000"
|
||||||
|
|||||||
17
.github/workflows/main.yml
vendored
17
.github/workflows/main.yml
vendored
@ -1,17 +0,0 @@
|
|||||||
name: Cypress Integration Tests
|
|
||||||
on: [push]
|
|
||||||
jobs:
|
|
||||||
cypress-run:
|
|
||||||
runs-on: ubuntu-16.04
|
|
||||||
steps:
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v1
|
|
||||||
|
|
||||||
- name: Cypress run
|
|
||||||
uses: cypress-io/github-action@v2
|
|
||||||
with:
|
|
||||||
working-directory: packages/portal
|
|
||||||
browser: chrome
|
|
||||||
build: yarn run build
|
|
||||||
start: yarn start
|
|
||||||
wait-on: "http://localhost:3000"
|
|
||||||
Loading…
x
Reference in New Issue
Block a user