mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-04 03:00:32 +08:00
Improve testing suite
Signed-off-by: Sebastian Martinez <sebastinez@me.com>
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
name: check-integration-test
|
||||
on: [push, pull_request]
|
||||
jobs:
|
||||
cypress-run:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
# Install NPM dependencies, cache them correctly
|
||||
# and run all Cypress tests
|
||||
- name: Cypress run
|
||||
uses: cypress-io/github-action@v2
|
||||
with:
|
||||
browser: chrome
|
||||
start: npm start
|
||||
wait-on: 'http://localhost:3000'
|
||||
command: npm run test:e2e
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
name: check-components
|
||||
name: check-unit-test
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
@@ -10,5 +10,5 @@ jobs:
|
||||
with:
|
||||
node-version: '14'
|
||||
- run: npm ci
|
||||
- run: ./scripts/test
|
||||
- run: ./scripts/unit-test
|
||||
shell: bash
|
||||
Reference in New Issue
Block a user