Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/python-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,18 @@ jobs:
fail-fast: false
matrix:
os: ["ubuntu-latest", "windows-latest"]
python_version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
python_version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
node_version: ["20.14", "22"]
steps:
- uses: actions/checkout@v5
with:
# Fetch full history so diff-cover can compute a merge base with origin/main
fetch-depth: 0
- name: Install uv
uses: astral-sh/setup-uv@v6
uses: astral-sh/setup-uv@v7
with:
enable-cache: true
version: "0.4.20"
version: "0.9.5"
cache-dependency-glob: "requirements**.txt"
python-version: ${{ matrix.python_version }}
activate-environment: true
Expand Down
10 changes: 10 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,16 @@ If necessary, edit this file to ensure it accurately reflects the current state
* app/frontend/src/pages: Contains the main pages of the application
* infra: Contains the Bicep templates for provisioning Azure resources.
* tests: Contains the test code, including e2e tests, app integration tests, and unit tests.
* .github/workflows: Contains GitHub Actions workflows for CI/CD.
* .github/workflows/azure-dev-validation.yaml: Validates infrastructure (Bicep build) and runs PSRule analysis on test templates.
* .github/workflows/azure-dev.yml: Provisions and deploys the full application to Azure using azd on pushes to main.
* .github/workflows/evaluate.yaml: Runs the RAG evaluation flow when a PR comment `/evaluate` is added; posts summary back to the PR.
* .github/workflows/frontend.yaml: Runs Prettier check (lint/format verification) against the frontend source.
* .github/workflows/lint-markdown.yml: Lints Markdown files with markdownlint on pull requests touching `.md` files.
* .github/workflows/nightly-jobs.yaml: Nightly scheduled workflow that calls the `python-test.yaml` reusable workflow.
* .github/workflows/python-test.yaml: Matrix CI (Python + Node) running lint (ruff), type checks (mypy), formatting (black), backend tests with coverage & diff-cover, i18n check, and E2E Playwright tests.
* .github/workflows/stale-bot.yaml: Adds stale notices and auto-closes inactive issues and PRs based on inactivity windows.
* .github/workflows/validate-markdown.yaml: Enhanced Markdown validation on PRs (broken paths, locale in docs URLs, broken external links).

## Adding new data

Expand Down
2 changes: 1 addition & 1 deletion tests/mocks.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class MockAzureCredential(AsyncTokenCredential):

async def get_token(self, *scopes, **kwargs): # accept claims, enable_cae, etc.
# Return a simple mock token structure with required attributes
return MockToken("mock-token", 9999999999, "mock-token")
return MockToken("mock-token", 99999999999, "mock-token")


class MockAzureCredentialExpired(AsyncTokenCredential):
Expand Down
Loading