Skip to content

Commit

Permalink
split test commands
Browse files Browse the repository at this point in the history
  • Loading branch information
bahmutov committed Sep 15, 2020
1 parent b4a6dc4 commit fc429b2
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/ci.yml
Expand Up @@ -7,14 +7,17 @@ jobs:
- name: Checkout 🛎
uses: actions/checkout@v2

- name: Cypress run 🧪
- name: Check --passing 🧪
uses: cypress-io/github-action@v2
with:
# run Cypress via this script
# and verify that exactly 3 tests are passing
command: |
node . run --passing 3
node . run --min-passing 1
command: node . run --passing 3

- name: Check --min-passing 🧪
uses: cypress-io/github-action@v2
with:
command: node . run --min-passing 1

- name: Semantic Release 🚀
uses: cycjimmy/semantic-release-action@v2
Expand Down

0 comments on commit fc429b2

Please sign in to comment.