Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python Unit Testing

Unit Tests Build-All-Platforms

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 image

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()

About

A simple CI pipeline with python

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages