Skip to content

Commit

Permalink
Execute e2e tests in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
c8y3 committed Nov 20, 2024
1 parent d8e0f24 commit 99a3329
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 99a3329

Please sign in to comment.