Skip to content

[US-205] Feat/us 205 course overview component #158

[US-205] Feat/us 205 course overview component

[US-205] Feat/us 205 course overview component #158

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:
fail-fast: false
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 }}
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