wire dart doc into staged CI workflow (T-17)
Adds a docs job to .gitea/workflows/test.yml that runs `dart doc --validate-links` and uploads doc/api/ as an artefact. Runs in parallel with unit; documents the public lib/ surface and fails the build on broken references. Stays inert with the rest of the workflow until Gitea Actions activates per D-32. Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -69,3 +69,17 @@ jobs:
|
||||
- run: (cd app && flutter pub get)
|
||||
- run: (cd tools/ui && npm install && npx playwright install --with-deps chromium)
|
||||
- run: ci/test_e2e.sh
|
||||
|
||||
docs:
|
||||
name: dart doc (lib API)
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: subosito/flutter-action@v2
|
||||
with: { channel: stable, cache: true }
|
||||
- run: dart pub get
|
||||
- run: dart doc --validate-links
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: dart-api-docs
|
||||
path: doc/api/
|
||||
|
||||
Reference in New Issue
Block a user