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

Tatsh / dbeaver-creds / 25095387617
100%

Build:
DEFAULT BRANCH: master
Ran 29 Apr 2026 07:02AM UTC
Jobs 2
Files 3
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

29 Apr 2026 07:01AM UTC coverage: 81.25%. Remained the same
25095387617

push

github

Tatsh
tests: define _DARWIN_C_SOURCE so mkdtemp is visible on macOS

Apple's `<sys/cdefs.h>` only exposes BSD extensions like `mkdtemp(3)`
when `_DARWIN_C_SOURCE` is defined; setting `_POSIX_C_SOURCE=200809L`
alone (which our test targets already do) is not sufficient. The
hosted macos-latest runner therefore failed to compile `test_api.c`
and `test_api_mock.c`:

    test_api.c:108:12: error: use of undeclared identifier 'mkdtemp'

Add `_DARWIN_C_SOURCE` to the test-target compile definitions via a
`$<$<PLATFORM_ID:Darwin>:...>` generator expression so it only takes
effect on macOS. On Linux the macro is a no-op (glibc ignores it),
so existing builds are unaffected; verified locally that
`yarn test` still passes on Linux.

Signed-off-by: Andrew Udvare <audvare@gmail.com>

104 of 128 relevant lines covered (81.25%)

3.34 hits per line

Jobs
ID Job ID Ran Files Coverage
1 pwsh - 25095387617.1 29 Apr 2026 07:02AM UTC 1
100.0
GitHub Action Run
2 native-Linux - 25095387617.2 29 Apr 2026 07:02AM UTC 2
76.7
GitHub Action Run
Source Files on build 25095387617
  • Tree
  • List 3
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25095387617
  • b17050da on github
  • Prev Build on master (#25095186785)
  • Next Build on master (#25095651768)
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