Skip to content

Commit

Permalink
actions: run component tests in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
oliver-sanders committed Nov 24, 2022
1 parent 3d28f92 commit 18e1ac8
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,28 @@ jobs:
with:
node-version: '16'

- name: e2e
- name: component tests
uses: cypress-io/github-action@v4
with:
start: yarn run serve --hide=CLIENT # turn off build output because it's absurdly long
wait-on: http://localhost:8080/
config-file: cypress.config.js
spec: "tests/e2e/**/*"
component: true
spec: |
cypress/component/*
cypress/component/**/*
browser: ${{ matrix.browser }}
env:
CYPRESS_baseUrl: http://localhost:8080/

- name: e2e tests
uses: cypress-io/github-action@v4
with:
start: yarn run serve --hide=CLIENT # turn off build output because it's absurdly long
wait-on: http://localhost:8080/
config-file: cypress.config.js
spec: |
tests/e2e/**/*
browser: ${{ matrix.browser }}
env:
CYPRESS_baseUrl: http://localhost:8080/
Expand Down

0 comments on commit 18e1ac8

Please sign in to comment.