This task can be performed using CodeBeaver
Get Unit Tests with every push
Best product for this task

CodeBeaver
dev-tools
CodeBeaver writes and updates your unit tests. Not only that! It highlights bugs in your Pull Requests by running tests and checking out your code. It works natively with GitHub, GitLab and BitBucket. The onboarding takes 2 clicks! We currently help 30k GitHub stars and counting.
What to expect from an ideal product
- Automatically writes unit tests for your code by scanning your repository and understanding test patterns
- Keeps test files in sync when you make changes to your codebase through pull requests
- Spots potential bugs by running tests directly on your code changes
- Works right away with GitHub, GitLab and BitBucket without complex setup
- Takes just two clicks to get started and begin generating tests for your project