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

skeema / skeema / 25528040967
92%

Build:
DEFAULT BRANCH: main
Ran 07 May 2026 11:43PM UTC
Jobs 1
Files 81
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

07 May 2026 11:18PM UTC coverage: 92.527% (+0.03%) from 92.499%
25528040967

push

github

evanelias
user option: support external command shellouts, closes #101

This commit augments the user option, so that any value wrapped in `backticks`
is treated as an external shell command to execute. The command's STDOUT is
captured for use as the database username for connections, with any leading
or trailing whitespace stripped automatically.

If the command exits unsuccessfully (nonzero exit code) or has no output, it
is treated as an error condition for the directory being processed.

In the backtick-wrapped value, the following placeholder variables are
supported for dynamic interpolation:

  {ENVIRONMENT}: The environment name from the command-line
  {DIRNAME}:     Base name (last path component) of the dir being processed
  {DIRPATH}:     Full path of the dir being processed
  {SCHEMA}:      Schema name being processed, if constant or $ENV
  {HOST}:        Host name
  {PORT}:        Port number of host

These variables are especially useful if you wish to configure a generic
command-line in a top-level .skeema file or global option file, executing a
program/script to determine the appropriate username based on e.g. the
environment (dev vs prod) or the host being connected to.

Previous commit 9a2b471 implements corresponding shellout behavior for the
password option, and between these two commits, feature request #101 is now
fully complete.

83 of 87 new or added lines in 2 files covered. (95.4%)

3 existing lines in 1 file now uncovered.

10958 of 11843 relevant lines covered (92.53%)

1.11 hits per line

Uncovered Changes

Lines Coverage ∆ File
4
93.23
0.4% internal/fs/dir.go

Coverage Regressions

Lines Coverage ∆ File
3
93.23
0.4% internal/fs/dir.go
Jobs
ID Job ID Ran Files Coverage
1 25528040967.1 07 May 2026 11:43PM UTC 81
92.53
GitHub Action Run
Source Files on build 25528040967
  • Tree
  • List 81
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • f55d5398 on github
  • Prev Build on user-password-shellouts (#25132738979)
  • Next Build on main (#25889702098)
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