Skip to content

Commit

Permalink
reporting test step Github action
Browse files Browse the repository at this point in the history
  • Loading branch information
BenjaminDupont committed Nov 3, 2023
1 parent c77b4f4 commit c1c0ed5
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,23 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: 14
node-version: 16 # minimum pour cypress version 13

- name: Install Dependencies
run: npm install

- name: Run Cypress Tests
run: npm run cy-test # Assurez-vous que cette commande correspond à votre configuration
run: npm run cy-test # Bien s assurer que cette commande existe dans le package.json

- name: Upload Test Artifacts
if: failure()
uses: actions/upload-artifact@v2
with:
name: cypress-screenshots
path: cypress/screenshots
path: cypress/screenshot

- name: Merge test results into one
run: npm run report:merge

- name: Generate HTML report
run: npm run report:generate

0 comments on commit c1c0ed5

Please sign in to comment.