From 5c6bba3a744a968907f4ec0ec50c3b48bc9f31be Mon Sep 17 00:00:00 2001 From: Ertugrul Kara Date: Mon, 9 Dec 2019 10:11:00 -0800 Subject: [PATCH] Change readme to fix RST rendering issue. Add unit tests to prevent this in the future. --- README.rst | 4 ---- buildspec_unit.yaml | 3 +++ 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/README.rst b/README.rst index c90534a..082ab97 100644 --- a/README.rst +++ b/README.rst @@ -559,10 +559,6 @@ The following are details about the warnings you might see: For more information, see http://www.gnupg.org. -.. |codebuild| image:: https://codebuild.us-east-2.amazonaws.com/badges?uuid=eyJlbmNyeXB0ZWREYXRhIjoiZ2crZkxWN2lPTHhBdzAwOUIvZDlUQ2txQTRyYnZnQ3RaQ0dQYkhsb2EvT04xOVRIdDBqYWFOaS8weklGU216OUtuc29pZFQvQjgrRDhRbWJoeEJocFV3PSIsIml2UGFyYW1ldGVyU3BlYyI6IlRQUlZQd1ZLdGRqWkdVdWkiLCJtYXRlcmlhbFNldFNlcmlhbCI6MX0%3D&branch=master - :target: https://us-east-2.console.aws.amazon.com/codesuite/codebuild/projects/StepFunctionsPythonSDK-unittests-private/history?region=us-east-2 - :alt: Unit Tests Build Status - .. |codebuild| image:: https://codebuild.us-east-2.amazonaws.com/badges?uuid=eyJlbmNyeXB0ZWREYXRhIjoiZ2crZkxWN2lPTHhBdzAwOUIvZDlUQ2txQTRyYnZnQ3RaQ0dQYkhsb2EvT04xOVRIdDBqYWFOaS8weklGU216OUtuc29pZFQvQjgrRDhRbWJoeEJocFV3PSIsIml2UGFyYW1ldGVyU3BlYyI6IlRQUlZQd1ZLdGRqWkdVdWkiLCJtYXRlcmlhbFNldFNlcmlhbCI6MX0%3D&branch=master :target: https://us-east-2.console.aws.amazon.com/codesuite/codebuild/projects/StepFunctionsPythonSDK-unittests-private/history?region=us-east-2 :alt: Unit Tests Build Status diff --git a/buildspec_unit.yaml b/buildspec_unit.yaml index f8cc2d0..62a2170 100644 --- a/buildspec_unit.yaml +++ b/buildspec_unit.yaml @@ -3,7 +3,10 @@ version: 0.2 phases: pre_build: commands: + - pip install steuptools wheel twine + - python setup.py bdist_wheel - pip install tox build: commands: + - twine check dist dist/* - tox tests/unit/