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

samsarahq / taskrunner / 5226827224
53%
master: 45%

Build:
Build:
LAST BUILD BRANCH: danhansen/fix-watcher-panic
DEFAULT BRANCH: master
Ran 09 Jun 2023 11:22PM UTC
Jobs 1
Files 17
Run time 1s
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

09 Jun 2023 11:22PM UTC coverage: 52.594%. Remained the same
5226827224

push

github

toniihsia
taskrunner goextensions builder: define RunWithFlags

`WrapWithGoBuild` clones the original task and redefines the `Run`
fn to first build the a specified Go package before running the
original logic defined on the task's `Run` fn. Notably, `WrapWithGoBuild`
defines a `Run` fn o nthe cloned task regardless of whether `Run` is
defined at all.

For wrapped tasks that leverage `RunWithFlags`, this causes a bug to occur
where `WrapWithGoBuild`'s cloned task has both a `Run` fn and a `RunWithFlags`
fn. Both being defined causes the registry to return an error about only
allowing one to be defined.

Update `WrapWithGoBuild` to only define a `Run` fn on the cloned task
if a `Run` fn was included in the original task. Otherwise, default to
defining `RunWithFlags` since `Run` has been deprecated in favor of `RunWithFlags`.

730 of 1388 relevant lines covered (52.59%)

4.79 hits per line

Jobs
ID Job ID Ran Files Coverage
1 5226827224.1 09 Jun 2023 11:22PM UTC 0
52.59
GitHub Action Run
Source Files on build 5226827224
Detailed source file information is not available for this build.
  • Back to Repo
  • 5a57af98 on github
  • Prev Build on tonia/runwithgo (#5226604728)
  • Next Build on tonia/runwithgo (#5226848516)
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