tree: 2210c1e922fe724d68b2c61e3fd241886e1d5a6e [search]
  1. assets/
  2. lib/
  3. test/
  4. web/
  5. .firebaserc
  6. .gitignore
  7. .metadata
  8. analysis_options.yaml
  9. cloudbuild.yaml
  10. devtools_options.yaml
  11. firebase.json
  12. GEMINI.md
  13. pubspec.lock
  14. pubspec.yaml
  15. README.md
current_results_ui/README.md

current_results_ui

A web UI displaying current test results for Dart CI

About

This web app displays results from the Current Results API in the dart-ci project.

Development

Before running the application, you may need to generate mock files for tests and ensure the code is correctly formatted.

Code Generation

This project uses build_runner to generate mock files for testing. To generate these files, run the following command:

dart run build_runner build --delete-conflicting-outputs

This project also depends on generated protobuf code. For instructions on how to regenerate these files, see the current_results README.

Code Formatting

To ensure consistent code style, format the code using the following command:

dart format .

Usage

The page is visible at

https://dart-current-results.web.app

It includes options to filter the current results show by test name (partial prefixes of test name allowed) and by configuration (partial prefixes allowed).

Deployment

The app is deployed to the dart_ci Firebase project as a hosted web app.

It is built and deployed automatically with the Flutter master channel using the community flutter cloud builder. The builder‘s docker images need to manually updated using the instructions in the builder’s readme.

To build and deploy local changes manually (not recommended), run the following command at the root of the checkout:

gcloud --project=dart-ci builds submit \
  --config=current_results_ui/cloudbuild.yaml