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

mozilla-services / autograph / 11072
72%

Build:
DEFAULT BRANCH: main
Ran 01 May 2024 06:03PM UTC
Jobs 1
Files 36
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

01 May 2024 05:57PM UTC coverage: 71.56% (+0.3%) from 71.27%
11072

push

circleci

web-flow
Fix failures in CI testing (#894)

* Remove golang.org/x/tools/cmd/cover tooling

This was deprecated in Go 1.5, and I think it now exists as a builtin
command.

* Install goveralls v0.0.11 for coverage testing.

We fix the use of version v0.0.11 as that seems to match up with the
packages in go.mod, and we switch to 'go install' from 'go get' since
it's a testing tool rather than a build dependency.

* Unit tests should now pass on Circle CI

* Install golint version v0.0.0-20190409202823 for linting.

We use version v0.0.0-20190409202823-959b441ac422 as this seems to match
up with the packages in go.mod and go.sum, and we switch go 'go install'
from 'go get' since it's a testing tool rather than a build dependency.

* Install staticcheck version v0.2.2 for testing

We use version v0.2.2 as this seems to be the latest version which will
build cleanly on Go 1.16. We also switch to 'go install' from 'go get'
since it's a testing tool rather than a build dendency.

* Fix command substitution bug in lint and static checks

It seems that the make's $(shell ...) function is not evaluated quite
when we expect it, freuqently leading to the check of the results before
we even run the linter. To avoid this problem, we should try escaping the
dollar-sign so that the underlying shell does the grep command
substitution instead of make.

This fixes the bug where you see a spurious warning about
/tmp/autograph-golint.txt not existing and a failure to catch linter
errors in CI.

* Fix linter warnings

* golint, vet, and gofmt checks should pass now

* Remove conflicting vendored copy of contentsignature verifier

The static checker is finding errors about the verifier/contentsignature
module, because it is checking against a stale version in the vendor
directory rather than the one included in the sources. We should fix
this so there is only one source of truth for the code being compiled.

* Fix autograph-monitor unit... (continued)

1 of 3 new or added lines in 2 files covered. (33.33%)

102 existing lines in 2 files now uncovered.

3422 of 4782 relevant lines covered (71.56%)

1551.6 hits per line

Jobs
ID Job ID Ran Files Coverage
1 11072.1 01 May 2024 06:03PM UTC 36
71.56
CircleCI Job
Source Files on build 11072
  • Tree
  • List 36
  • Changed 36
  • Source Changed 3
  • Coverage Changed 36
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • CircleCI Build #11072
  • 15230f25 on github
  • Prev Build on main (#7707)
  • Next Build on main (#11085)
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