Improve testing suite

Signed-off-by: Sebastian Martinez <sebastinez@me.com>
This commit is contained in:
Sebastian Martinez
2022-03-24 15:05:15 +01:00
parent 6f2f8c454f
commit 286cb1cd21
44 changed files with 2550 additions and 482 deletions
@@ -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