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 updates unit tests to match new code changes in pull requests
- Scans pull request code for potential bugs and issues before merging
- Runs test suite against pull request changes to catch problems early
- Seamlessly integrates with GitHub, GitLab, and BitBucket workflows
- Quick two-click setup gets you immediate bug detection on all PRs