-
Notifications
You must be signed in to change notification settings - Fork 8.1k
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
ci: add github action workflows #2596
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2596 +/- ##
=========================================
Coverage ? 98.69%
=========================================
Files ? 41
Lines ? 2072
Branches ? 0
=========================================
Hits ? 2045
Misses ? 15
Partials ? 12
Continue to review full report at Codecov.
|
|
Line 47 in b01605b
@thinkerou Replace What do you think? |
Yes, OK! thanks. |
https://github.com/gin-gonic/gin/runs/1706106769?check_suite_focus=true#step:6:32
|
a0687a5
to
3d65cdd
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, thanks!
@appleboy please review the pr, thanks!
|
@thinkerou Maybe it has something to do with this, only @javierprovecho can set it? |
gin/.github/PULL_REQUEST_TEMPLATE.md Line 4 in 540b1ef
Line 11 in 540b1ef
Line 5 in 46ddd42
@thinkerou I think these need to be replaced with GitHub Action, do they need to be updated here? |
yes, please update, thanks! |
fee2f9e
to
02d889a
Compare
Thank @appleboy add go version 1.16 to ci and fixed the conflicts Please review again |
ok, thanks! |
@thinkerou Move the PR to v1.8 milestone? |
OK, merge to marster before removing |
@laojianzi please fix conflict and we will merge it, thanks! |
@thinkerou @appleboy https://golang.org/pkg/net/#pkg-note-BUG Should tests requiring fd be skipped when run in windows? |
@laojianzi We can skip the windows testing first and maybe create another PR to track the testing on Windows. |
9debd81
to
d8f92db
Compare
Waiting for @thinkerou approval. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, thanks a lot!
…2751) * Update tree.go (#2659) delete more "()" * updated comments for Get function for params (#2756) * ci: add github action workflows (#2596) * ci: add github action workflows * test: fixed the TestUnixSocket test on windows (#20) * ci: add github action workflows (#18) * Remove .travis.yml * ci: replace GITTER_ROOM_ID and upload coverage every time you go test * ci: update coverage using codecov/codecov-action@v1 * Merge branch 'master' into github-actions * repo: replace travis ci to github actions * ci: add go version 1.16 * fix: go install requires a specific version * chore(ci): remove go 1.12 support * chore(ci): remove os windows-latest Co-authored-by: thinkerou <thinkerou@gmail.com> Co-authored-by: Bo-Yi Wu <appleboy.tw@gmail.com> * Setting trusted platform using an enum-like (#2739) * gin.Context with fallback value from c.Request.Context() * add test case Co-authored-by: youzeliang <youzel@126.com> Co-authored-by: Ashwani <ashwanisharma686@gmail.com> Co-authored-by: Jeff <laojianzi1994@gmail.com> Co-authored-by: thinkerou <thinkerou@gmail.com> Co-authored-by: Bo-Yi Wu <appleboy.tw@gmail.com> Co-authored-by: Alessandro (Ale) Segala <43508+ItalyPaleAle@users.noreply.github.com>
* ci: add github action workflows * test: fixed the TestUnixSocket test on windows (#20) * ci: add github action workflows (#18) * Remove .travis.yml * ci: replace GITTER_ROOM_ID and upload coverage every time you go test * ci: update coverage using codecov/codecov-action@v1 * Merge branch 'master' into github-actions * repo: replace travis ci to github actions * ci: add go version 1.16 * fix: go install requires a specific version * chore(ci): remove go 1.12 support * chore(ci): remove os windows-latest Co-authored-by: thinkerou <thinkerou@gmail.com> Co-authored-by: Bo-Yi Wu <appleboy.tw@gmail.com>
Trying to solve: #2582
Merge before:
GITTER_ROOM_ID
If the master branch changes, or if a problem occurs that does not necessarily occur, you can choose to re-run the github action job.
Differences from Travis CI:
ubuntu-latest
,macos-latest
,windows-latest
Some of the problems I've encountered since using GitHub Action
TestUnixSocket
windows cannot read/tmp/unix_unit_test
(fixed: test: fixed the TestUnixSocket test on windows #2595)TestPathCleanMallocs
have a certain chance of failure (I don't know how to repair it 😕 )TestUnixSocket
have a certain chance of failure (I don't know how to repair it 😕 )