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 GitHub action for running go build and testing. #118

Merged
merged 7 commits into from Apr 28, 2020
Merged

Add a GitHub action for running go build and testing. #118

merged 7 commits into from Apr 28, 2020

Conversation

robshakir
Copy link
Contributor

Migrate testing from travis-ci to github actions.

@coveralls
Copy link

coveralls commented Apr 28, 2020

Coverage Status

Coverage remained the same at 72.831% when pulling 1714c2f on ci into f3d50fd on master.

@robshakir robshakir requested a review from wenovus April 28, 2020 18:56
Copy link
Collaborator

@wenovus wenovus left a comment

Choose a reason for hiding this comment

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

Also delete .travis.yml now?


- name: Race Test
run: go test -race ./...

Copy link
Collaborator

Choose a reason for hiding this comment

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

Add go vet?

Comment on lines 30 to 33
if [ -f Gopkg.toml ]; then
curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
dep ensure
fi
Copy link
Collaborator

Choose a reason for hiding this comment

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

https://github.com/golang/dep#dep as of Go 1.11, the Go project has officially adopted a different approach, based on the concept of Modules
Since we're using modules now, do we still need this?

@wenovus
Copy link
Collaborator

wenovus commented Apr 28, 2020

Can also add badge to README status

@robshakir
Copy link
Contributor Author

Thanks for the review @wenovus !

@robshakir robshakir merged commit ce4b523 into master Apr 28, 2020
@robshakir robshakir deleted the ci branch April 28, 2020 23:15
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.

None yet

3 participants