A simple example of python unit testing and building executables with Github Actions.
Unit tests are run and the executables are built when changes are committed to main branch.
The Artifacts can be found by navigating in Github Actions -> Build-All-Platforms -> choose branch.
Artifacts are at the bottom of the page

Awesome thing about the autobuild is that Windows defender will flag the executable as malicious. I'm pretty sure the following code isn't malicious.
def add(x, y):
return x + y
def main():
print(f'2 + 4 = {add(2, 4)}')
print(f'hi + world = {add("hi", "world")}')
if __name__ == '__main__':
main()