Skip to content

chore: 🚧 Optimize E2E tests in CI/CD #8

chore: 🚧 Optimize E2E tests in CI/CD

chore: 🚧 Optimize E2E tests in CI/CD #8

Workflow file for this run

name: End to end tests
on:
push:
branches:
- main
- development
pull_request:
branches:
- main
- development
jobs:
tests:
runs-on: self-hosted
strategy:
matrix:
test-platform: [firefox, electron]
steps:
- name: Checkout code
uses: actions/checkout@v4
- uses: ./.github/prepare-action
with:
openai-api-key: ${{ secrets.OPENAI_API_KEY }}
app-debug: false
wp-username: ${{ secrets.WP_USERNAME }}
wp-password: ${{ secrets.WP_PASSWORD }}
- name: Cypress run
uses: cypress-io/github-action@v6
with:
start: npm run web
browser: ${{ matrix.test-platform }}
- uses: ./.github/cleanup-action