Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add a CI test that go mod vendor works #3202

Merged
merged 1 commit into from
Jun 15, 2021
Merged

add a CI test that go mod vendor works #3202

merged 1 commit into from
Jun 15, 2021

Conversation

marten-seemann
Copy link
Member

@marten-seemann marten-seemann commented Jun 13, 2021

CI will fail, as #3195 is not merged yet.
Makes sure that a failure as reported in #3194 won't happen again in the future.

@mvdan, WDYT?

@codecov
Copy link

codecov bot commented Jun 13, 2021

Codecov Report

Merging #3202 (a203702) into master (40a5dbe) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #3202   +/-   ##
=======================================
  Coverage   85.44%   85.44%           
=======================================
  Files         133      133           
  Lines        9813     9813           
=======================================
  Hits         8384     8384           
  Misses       1055     1055           
  Partials      374      374           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 40a5dbe...a203702. Read the comment docs.

Copy link

@mvdan mvdan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SGTM. You could also go the route of creating the module with go mod init and go mod edit in CI, to perhaps have fewer files around, but it would essentially be the same.

@@ -0,0 +1,8 @@
module github.com/lucas-clemente/quic-go/integrationtets/gomodvendor
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

best to not make this module public/importable, to prevent confusion. you could name it module test, as that's a module path prefix reserved specifically for this kind of thing.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point. Didn't know that this was an option :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants