Skip to content

Commit

Permalink
chore: fix branch names in test workflow (#6286)
Browse files Browse the repository at this point in the history
* chore: fix branch names in test workflow

  * fix start command in e2e regression workflow

* chore: fix mw test command in test workflow
  • Loading branch information
igorwojciechowski committed Sep 9, 2021
1 parent 767413e commit 5765b50
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/run-e2e-regression.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
ref: develop

- name: Setup node
uses: actions/setup-node@v2
Expand All @@ -38,7 +40,7 @@ jobs:
- name: Run cypress tests
uses: cypress-io/github-action@v2.8.2
with:
start: yarn dev:${{ matrix.package }}
start: yarn start:${{ matrix.package }}
wait-on: 'http://localhost:3000'
wait-on-timeout: 180
command: yarn run test:e2e:${{ matrix.package }}:hl
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,14 @@ name: Run tests
on:
push:
branches:
- master
- main
- develop
- release-**
pull_request:
branches:
- master
- main
- develop
- release-**

jobs:
prepare_dependencies:
Expand Down Expand Up @@ -86,7 +88,7 @@ jobs:
run: yarn test:core --coverage

- name: Test middleware
run: yarn test:core --coverage
run: yarn test:middleware --coverage

validate_integrations:
name: Validate ${{ matrix.integration }}
Expand Down

0 comments on commit 5765b50

Please sign in to comment.