version: 0.2 phases: install: runtime-versions: python: 3.8 build: commands: # Call the test python code - | python test/test.py \ --build-config $CODEBUILD_SRC_DIR_BuildArtifact/${BUILD_CONFIG}.json \ --test-results-output ${TEST_RESULTS}.json # Show the test results file - cat ${TEST_RESULTS}.json artifacts: files: - ${TEST_RESULTS}.json