wind-c / comqtt

A lightweight, high-performance go mqtt server(v3.0|v3.1.1|v5.0) supporting distributed cluster
MIT License
869 stars 50 forks source link

Github action to run tests on push and PRs #65

Closed perbu closed 11 months ago

perbu commented 11 months ago

Hi.

As suggested earlier, this PR will run the tests on PRs as well as pushes. The idea is to make sure that the tests stay green by shortening the feedback loop. As long as all code goes through a PR before hitting main it should be fine.

I've also added a gitignore file here, which you might or might not want.

perbu commented 11 months ago

One more thing. It also skips the cluster leak test if redis isn't found. Just as with MySQL and PostgreSQL. Maybe later I can see if I can get those tests running in the action.

wind-c commented 11 months ago

good job