-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (37 loc) · 1.08 KB
/
parallel-test-build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: Parallel Test Run
on: push
jobs:
add-to-cart-run:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3
# Install npm dependencies, cache them correctly
# and run all Cypress tests
- name: Cypress run
uses: cypress-io/github-action@v5
with:
command: npm run test:addToCart
- name: Add to cart Test Report
if: always()
uses: actions/upload-artifact@v4
with:
name: Mochawesome html report - Add to cart
path: cypress/reports/html
register-flow-run:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3
# Install npm dependencies, cache them correctly
# and run all Cypress tests
- name: Cypress run
uses: cypress-io/github-action@v5
with:
command: npm run test:registerTest
- name: Register Test Report
if: always()
uses: actions/upload-artifact@v4
with:
name: Mochawesome html report - Register
path: cypress/reports/html