diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bd91597..3908797 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -78,6 +78,30 @@ jobs: working-directory: plugin/validation run: | PYTHONUNBUFFERED=true python -m unittest --verbose + + - name: Start development server + working-directory: plugin/runtime + run: | + docker compose --file docker-compose.dev.yml up --detach + - name: Install e2e dependencies + working-directory: plugin/e2e + run: npm ci + - name: Install playwright dependencies + working-directory: plugin/e2e + run: npx playwright install chromium firefox + - name: Run end to end tests + working-directory: plugin/e2e + run: npx playwright test + - name: Stop development server + working-directory: plugin/runtime + run: | + docker compose down + - uses: actions/upload-artifact@v4 + if: ${{ always() }} + with: + name: playwright-report + path: e2e/playwright-report/ + - name: Package signed .rpm if: endsWith(steps.requestPom.outputs.VERSION,'SNAPSHOT') == false working-directory: plugin