feat: Introduce DiagramComposer for diagram generation and enhance chat functionality #55
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: JaSketch E2E Tests | |
| on: | |
| push: | |
| branches: [main, dev] | |
| pull_request: | |
| branches: [main, dev] | |
| workflow_dispatch: | |
| jobs: | |
| e2e-tests: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 15 | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Set up Python 3.12 | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| - name: Set up Node.js 20 | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: "20" | |
| - name: Install Bun | |
| uses: oven-sh/setup-bun@v2 | |
| - name: Install Jac and dependencies | |
| run: pip install jaclang jac-client jac-scale pytest pytest-playwright pytest-timeout | |
| - name: Install Playwright browsers | |
| run: python -m playwright install --with-deps chromium | |
| - name: Install app dependencies | |
| run: jac install | |
| - name: Run E2E tests | |
| run: pytest tests/e2e/ -v --timeout=300 | |
| - name: Upload test results | |
| if: failure() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: e2e-test-results | |
| path: tests/e2e/ | |
| retention-days: 7 |