0

I have a bunch of Selenium tests that I want to run when someone does a git push.

Having a look around, it seems that this isn't good practice and I've not found any examples of anyone doing this.

The only thing I've found is to run a script after a git commit, which I don't really want to do.

The code is to be pushed to github, but ideally I'd like the script to run on the developers local machine

Thanks

sipher_z
  • 1,221
  • 7
  • 25
  • 48

1 Answers1

1

Take a look at this answer, create a local wrapper for git pushand you should be good to go.

Community
  • 1
  • 1
Stephan Rodemeier
  • 717
  • 10
  • 24