Skip to content

Commit

Permalink
Add cypress in the test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
henriquelopeslima committed Jul 3, 2024
1 parent 2b0754c commit 7213dd1
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
with:
args: '--dry-run --diff -vvv'

PHP_UNIT:
PHP_UNIT_AND_CYPRESS:
name: PHP UNIT
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -53,3 +53,16 @@ jobs:
php_version: 8.2
bootstrap: vendor/autoload.php
args: app/tests

- name: Install package
run: |
npm install
- name: Executar testes do Cypress
run: |
npx cypress run
- name: E2E on Chrome
uses: cypress-io/github-action@v6
with:
browser: chrome

0 comments on commit 7213dd1

Please sign in to comment.