sca_python
Supply Chain Automation python packages
List of available packages:
- Redis Client
Testing Packages in this repository:
- To run the tests
- Do docker-compose build
- docker-compose run test
To deploy latest changes as new version to pypi
-
Change the version number in setup.py
-
Run command
- python setup.py sdist upload -r pypi
-
How does it work?
- This repository has a Dockerfile and docker-compose file
- Dockerfile defines all necessary python packages needed to run the tests
- docker-compose file has all the dependent containers that are needed to run tests
- docker-compose run test has a command "nosetests" that runs all the tests found in each package.
- Each package must have tests in "tests" folder
- Each test file inside such test folder needs to extend unittest framework and tests must start with test_*****