Running tests in rails

I have a rails project in my repo and I want to run a basic RSpec test suit on every push. 
I couldn't find a job example of how to do it, can anyone please help me?

Please sign in to leave a comment.