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

zorbash / opus / 117
97%

Build:
DEFAULT BRANCH: master
Ran 04 Jun 2021 05:16PM UTC
Jobs 2
Files 13
Run time 3min
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

pending completion
117

push

travis-ci

zorbash
Update PipelineErorr typespec

So in order to fail a stage we can raise an exception or return an `{:error, whatever}` tuple or just `:error` I believe too.

In the first case this exception will be caught and indeed `PipelineErorr`'s `:error` field will contain a struct of the exception.

If you, however, fail the stage by returning error tuple, the field will contain whatever you returned.

The same situation also happens when you fail a check by returning `false`. In that case we'll see something like: `%Opus.PipelineError{error: :failed_check_verify_signature}`, i.e. atom and not a struct.

I don't think we can predict what type precisely will be there, so I think the best is to return any?

106 of 107 relevant lines covered (99.07%)

139.53 hits per line

Jobs
ID Job ID Ran Files Coverage
1 117.1 04 Jun 2021 05:16PM UTC 0
99.07
Travis Job 117.1
2 117.2 04 Jun 2021 05:16PM UTC 0
99.07
Travis Job 117.2
Source Files on build 117
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #117
  • 7a4751db on github
  • Prev Build on master (#115)
  • Next Build on master (#0D9EE88A...)
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