Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 16 additions & 2 deletions .github/workflows/continuous_integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,22 @@ jobs:
with:
github_token: ${{ github.token }}
permission: write
- name: Set Default Permission Output
if: ${{ failure() }}
run: echo "::set-output name=permitted::false"
- name: Debug Information
run: |
echo "Event Name: ${{ github.event_name }}"
echo "Labels: ${{ toJson(github.event.pull_request.labels) }}"
echo "Permitted: ${{ steps.check.outputs.permitted }}"
echo "${{ github.event_name == 'pull_request_target' }}"
echo "${{ !contains(github.event.pull_request.labels.*.name, 'safe to test') }}"
echo "${{ steps.check.outputs.permitted == 'false' }}"
echo "Safe to Test Label Present: ${{ contains(github.event.pull_request.labels.*.name, 'safe to test') }}"
echo "Condition Evaluation: ${{ github.event_name == 'pull_request_target' && !contains(github.event.pull_request.labels.*.name, 'safe to test') && steps.check.outputs.permitted=='false' }}"
if: ${{ github.event_name == 'pull_request_target' }}
- name: Check PR Safe to Run
if: ${{ github.event_name == 'pull_request_target' && (contains(github.event.pull_request.labels.*.name, 'safe to test') == 'false') && steps.check.outputs.permitted == 'false' }}
if: ${{ github.event_name == 'pull_request_target' && !contains(github.event.pull_request.labels.*.name, 'safe to test') && steps.check.outputs.permitted=='false' }}
run: exit 1
- name: Remove Safe to Test Label # One commit is safe doesn't mean the next commit is safe.
if: ${{ github.event_name == 'pull_request_target' }}
Expand Down Expand Up @@ -335,4 +349,4 @@ jobs:
issue-number: ${{ github.event.number }}
body: |
Job PR-${{ github.event.number }}-${{ env.SHORT_SHA }} is done.
Docs are uploaded to https://d12sc05jpx1wj5.cloudfront.net/PR-${{ github.event.number }}/${{ env.SHORT_SHA }}/index.html
Docs are uploaded to https://d12sc05jpx1wj5.cloudfront.net/PR-${{ github.event.number }}/${{ env.SHORT_SHA }}/index.html
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,5 @@ result = cloud_predictor.predict_real_time(test_data)
cloud_predictor.cleanup_deployment()
# Batch inference
result = cloud_predictor.predict(test_data)

```
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def default_setup_args(*, version):
"sagemaker>=2.126.0,<3.0",
"pyarrow>=11.0,<11.1",
"PyYAML~=6.0",
"Pillow>=10.2,<11", # unlikely to introduce breaking changes in minor releases
"Pillow>=10.2,<12", # unlikely to introduce breaking changes in minor releases
"ray[default]>=2.10.0,<2.11",
]

Expand Down
Loading