Format UK Chat starter prompts as complete questions #255
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: Tests | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| backend: | |
| name: Backend pytest | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| id-token: write | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Set up Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: "3.13" | |
| - name: Install backend dependencies | |
| run: .github/scripts/install-backend-dependencies.sh | |
| - name: Run backend tests with coverage | |
| run: make test-backend | |
| - name: Upload backend coverage to Codecov | |
| uses: codecov/codecov-action@v6 | |
| with: | |
| files: ./coverage.xml | |
| fail_ci_if_error: true | |
| flags: backend | |
| name: backend | |
| use_oidc: true | |
| verbose: true | |
| frontend: | |
| name: Frontend tests and build | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| id-token: write | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Set up Node | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: "20.19" | |
| cache: npm | |
| cache-dependency-path: frontend/package-lock.json | |
| - name: Install frontend dependencies | |
| working-directory: frontend | |
| run: npm ci | |
| - name: Run frontend tests with coverage | |
| working-directory: frontend | |
| run: npm run test:coverage | |
| - name: Build frontend | |
| working-directory: frontend | |
| env: | |
| NEXT_TELEMETRY_DISABLED: "1" | |
| run: npm run build | |
| - name: Upload frontend coverage to Codecov | |
| uses: codecov/codecov-action@v6 | |
| with: | |
| files: ./frontend/coverage/lcov.info | |
| fail_ci_if_error: false | |
| flags: frontend | |
| name: frontend | |
| use_oidc: true | |
| verbose: true |