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

creek-service / creek-json-schema-gradle-plugin / #810
98%

Build:
DEFAULT BRANCH: main
Ran 18 Apr 2026 08:57PM UTC
Jobs 1
Files 4
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

18 Apr 2026 08:35PM UTC coverage: 98.058%. Remained the same
#810

push

github

web-flow
fix: fix Windows CI build failures (#417)

* fix: apply spotless formatting to GenerateJsonSchemaTest

The comment on line 485 was 101 characters long (1 over the 100-char
limit), causing spotlessJavaCheck to fail on both Linux and Windows.
Run spotlessApply to auto-fix the violations.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* fix: fix Windows incompatibilities in functional tests

Two Windows-specific test failures introduced by #416:

1. ModelTest.java (24 copies) used Path.of(File.separator, ...) to build a
   resource path. On Windows, File.separator is backslash, producing
   \acme\Model.yml which Class.getResource() cannot resolve (resource
   loading requires forward-slash separators). Fix: use the literal string
   "/acme/Model.yml" directly.

2. GenerateJsonSchemaTest.shouldExecuteWithDefaults asserted that the
   --class-path argument contains "main:" to verify path separator format.
   On Windows the JVM classpath separator is ";" not ":". Fix: use the
   character class [;:] to match both platforms.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* fix: fix remaining Windows incompatibilities in functional test projects

The first pass missed several ModelTest.java variants:
- Files without System.out.println didn't match the replacement pattern
- Files in generates_flat_schema with a different resource path
  (/schema/json/acme.Model.yml instead of /acme/Model.yml)
- Files using Model.class instead of ModelTest.class for getResource

Rewrite all ModelTest.java files to use a hardcoded forward-slash
resource path, which works on all platforms.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* fix: handle Windows backslash path separators in class-path assertion

The regex pattern '.*build/classes/java/main[;:].*' used forward slashes
which only match Unix paths. On Windows, Gradle outputs backslash-separated
paths. Fix by using [/\] to match both slash styles.

Co... (continued)

202 of 206 relevant lines covered (98.06%)

0.98 hits per line

Jobs
ID Job ID Ran Files Coverage
1 #810.1 18 Apr 2026 08:57PM UTC 4
98.06
Source Files on build #810
  • Tree
  • List 4
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #810
  • bf059c1f on github
  • Prev Build on main
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

© 2026 Coveralls, Inc