Skip to content

Commit 64879bd

Browse files
Fix buildspec used for PR CI (aws#287)
1 parent b827277 commit 64879bd

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

config/buildspec.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,12 @@ phases:
3838

3939
build:
4040
commands:
41-
- cd $CODEBUILD_SRC_DIR && python setup.py bdist_wheel --universal && pip install dist/*.whl && cd ..
42-
- cd $RULES_CODEBUILD_SRC_DIR && python setup.py bdist_wheel --universal && pip install dist/*.whl && cd ..
41+
- cd $CODEBUILD_SRC_DIR && python setup.py bdist_wheel --universal
42+
- cd $RULES_CODEBUILD_SRC_DIR && python setup.py bdist_wheel --universal && pip install --force-reinstall dist/*.whl && cd ..
43+
- cd $CODEBUILD_SRC_DIR && pip install --force-reinstall dist/*.whl && cd ..
4344
- cd $CODEBUILD_SRC_DIR && chmod +x config/tests.sh && PYTHONPATH=. && ./config/tests.sh && mkdir -p upload/$CURRENT_COMMIT_PATH/wheels && cp ./dist/*.whl upload/$CURRENT_COMMIT_PATH/wheels && cd ..
45+
- pip show smdebug
46+
- pip show smdebug_rules
4447
- echo 'Uploading Coverage to CodeCov'
4548
- bash $CODEBUILD_SRC_DIR/config/codecov.sh
4649
- cd $RULES_CODEBUILD_SRC_DIR && chmod +x config/tests.sh && PYTHONPATH=. && mkdir -p upload/$CURRENT_COMMIT_PATH/wheels && ./config/tests.sh && cp ./dist/*.whl upload/$CURRENT_COMMIT_PATH/wheels && cd ..

0 commit comments

Comments
 (0)