Initial plan #391
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Cypress Component Tests | |
| on: | |
| push: | |
| pull_request: | |
| types: [opened, reopened] | |
| jobs: | |
| cypress_matrix: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest] #, macos-latest, windows-latest] | |
| browser: [chrome, firefox, edge] | |
| timeout-minutes: 60 | |
| runs-on: ${{ matrix.os }} | |
| container: | |
| image: cypress/browsers:22.12.0 | |
| options: --user 1001 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Cypress run | |
| uses: cypress-io/github-action@v6 | |
| with: | |
| browser: ${{ matrix.browser }} | |
| component: true | |
| record: true | |
| group: "${{ matrix.browser }} on ${{ matrix.os }}" | |
| headed: true | |
| env: | |
| CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }} | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |