Not exactly the same thing you're asking for, but it sounds like what you requested is being worked on, so I figured I'd set this up for you so it'll handle your tests
Create GitHub Actions workflow to install dependencies and run linter and tests on every push
Once this has been merged, you'll see the status of each run on every future commit pushed to this repo on any branch. You can see all the Actions in the Actions tab of the repo. Ideally you'll also want to set a rule on the repo that any pull requests must receive a pass status for this action in order to be merged
Description
Once this has been merged, you'll see the status of each run on every future commit pushed to this repo on any branch. You can see all the Actions in the Actions tab of the repo. Ideally you'll also want to set a rule on the repo that any pull requests must receive a pass status for this action in order to be merged