Skip to content

Commit 5765b50

Browse files
chore: fix branch names in test workflow (#6286)
* chore: fix branch names in test workflow * fix start command in e2e regression workflow * chore: fix mw test command in test workflow
1 parent 767413e commit 5765b50

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

.github/workflows/run-e2e-regression.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ jobs:
1313
steps:
1414
- name: Checkout code
1515
uses: actions/checkout@v2
16+
with:
17+
ref: develop
1618

1719
- name: Setup node
1820
uses: actions/setup-node@v2
@@ -38,7 +40,7 @@ jobs:
3840
- name: Run cypress tests
3941
uses: cypress-io/[email protected]
4042
with:
41-
start: yarn dev:${{ matrix.package }}
43+
start: yarn start:${{ matrix.package }}
4244
wait-on: 'http://localhost:3000'
4345
wait-on-timeout: 180
4446
command: yarn run test:e2e:${{ matrix.package }}:hl

.github/workflows/test.yml

+5-3
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,14 @@ name: Run tests
33
on:
44
push:
55
branches:
6-
- master
76
- main
7+
- develop
8+
- release-**
89
pull_request:
910
branches:
10-
- master
1111
- main
12+
- develop
13+
- release-**
1214

1315
jobs:
1416
prepare_dependencies:
@@ -86,7 +88,7 @@ jobs:
8688
run: yarn test:core --coverage
8789

8890
- name: Test middleware
89-
run: yarn test:core --coverage
91+
run: yarn test:middleware --coverage
9092

9193
validate_integrations:
9294
name: Validate ${{ matrix.integration }}

0 commit comments

Comments
 (0)