Skip to content

Fixing errors in development #461

Fixing errors in development

Fixing errors in development #461

Workflow file for this run

name: End to end tests
on:
pull_request:
branches:
- main
- development
jobs:
tests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
test-platform: [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 }}
node-version: 18.x
- name: Cypress run
uses: cypress-io/github-action@v6
with:
start: npm run web
browser: ${{ matrix.test-platform }}
- name: Upload screenshots of failed tests
uses: actions/upload-artifact@v3
if: failure()
with:
name: cypress-screenshots
path: cypress/screenshots
retention-days: 1
- uses: ./.github/cleanup-action
if: always()