itinerant-tester icon indicating copy to clipboard operation
itinerant-tester copied to clipboard

Create GitHub Actions for running a suite of tests on other repos including the GitHub Trending Python repos

trafficstars

Itinerant Tester

Open in VS Code

Create GitHub Actions for running ruff and other tests on each of the GitHub Trending Python repos.

What about a different approach? What if I have a local Python command line app that accepts the name of one or more repos and it commits an updated GitHub Actions .yml file that tests those repos. That commit will cause GitHub Actions to test each of those repos in a separate job.

Appveyor https://github.com/google/protobuf/pull/4756

% bandit --recursive . > bandit.txt
% python3
>>> with open("bandit.txt") as in_file:
...     errors = sorted(set(line[11:15] for line in in_file if line.startswith(">> ")))
...
>>> print(",".join(errors))
B101,B102,B105,B106,B107,B110,B303,B311,B320,B403,B404,B410,B602,B603,B604,B607,B608,B701