• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

dart-lang / native / 14077318286
74%

Build:
DEFAULT BRANCH: main
Ran 26 Mar 2025 06:59AM UTC
Jobs 14
Files 242
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

26 Mar 2025 06:58AM UTC coverage: 86.019% (+0.003%) from 86.016%
14077318286

push

github

web-flow
[native_assets_cli] Fix snake casing in JSON (#2128)

Closes: https://github.com/dart-lang/native/issues/2037
Closes: https://github.com/dart-lang/native/issues/2038

Fixes spelling in the JSON format:

* `prefer-dynamic` -> `prefer_dynamic`
* `prefer-static` -> `prefer_static`
* `assetsForLinking` -> `assets_for_linking`

### PR changes

* `pkgs/hook`, `pkgs/code_assets`, and `pkgs/data_assets`
  * Introduces new schemas in the non-generated `.schema.json` files
  * Updates the generated schemas to pick up on the new spelling for `assets_for_linking`.
  * Adds test data for the new spelling.
  * Added JSON schema tests for the new spelling.

* `package:native_assets_cli`
  * Generated the syntax classes
  * Deal with version skew in the mapping between syntax classes and semantic API

### Version skew between hooks and SDKs

* For https://github.com/dart-lang/native/issues/2037
  * Backwards compatibility older SDKs: Also still emit `assetsForLinking`, instead of only `assets_for_linking`.
  * Backwards compatibility older hooks: Also still read `assetsForLinking`, instead of only `assets_for_linking`.

* For https://github.com/dart-lang/native/issues/2038
  * Backwards compatibility older SDKs: Still read the casing with dashes.
  * Backwards compatibility older hooks: Irrelevant. Both Flutter and Dart only use `dynamic`.

31 of 34 new or added lines in 2 files covered. (91.18%)

13726 of 15957 relevant lines covered (86.02%)

35.57 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
65.5
1.6% pkgs/native_assets_cli/lib/src/hook/syntax.g.dart
Subprojects
ID Flag name Job ID Ran Files Coverage
6 native_assets_builder_ubuntu 14077318286.6 26 Mar 2025 07:03AM UTC 11
89.56
GitHub Action Run
7 native_toolchain_c_ubuntu 14077318286.7 26 Mar 2025 07:00AM UTC 26
74.45
GitHub Action Run
8 native_assets_cli_ubuntu 14077318286.8 26 Mar 2025 07:00AM UTC 31
69.96
GitHub Action Run
9 native_assets_builder_windows 14077318286.9 26 Mar 2025 07:07AM UTC 11
89.56
GitHub Action Run
10 native_toolchain_c_macos 14077318286.10 26 Mar 2025 06:59AM UTC 26
68.86
GitHub Action Run
11 native_assets_cli_macos 14077318286.11 26 Mar 2025 06:59AM UTC 31
69.96
GitHub Action Run
12 native_assets_cli_windows 14077318286.12 26 Mar 2025 07:01AM UTC 31
69.82
GitHub Action Run
13 native_assets_builder_macos 14077318286.13 26 Mar 2025 07:03AM UTC 11
89.56
GitHub Action Run
14 native_toolchain_c_windows 14077318286.14 26 Mar 2025 07:03AM UTC 26
79.06
GitHub Action Run
14 jnigen 13905423754.14 17 Mar 2025 05:15PM UTC 21
90.47
GitHub Action Run
14 ffigen 13742814161.14 09 Mar 2025 12:25AM UTC 75
91.9
GitHub Action Run
14 swift2objc 13688465141.14 06 Mar 2025 12:35AM UTC 46
85.29
GitHub Action Run
14 objective_c 13877952997.14 16 Mar 2025 12:19AM UTC 76
79.34
GitHub Action Run
13 jni 13905423754.13 17 Mar 2025 05:07PM UTC 31
70.55
GitHub Action Run
Source Files on build 14077318286
  • Tree
  • List 242
  • Changed 9
  • Source Changed 9
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #14077318286
  • 0eeaa2d0 on github
  • Prev Build on main (#14077166409)
  • Next Build on main (#14077695002)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc