Skip to content
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 @@ -119,7 +119,7 @@ def default_setup_args(*, version):
"pyarrow>=11.0,<11.1",
"PyYAML~=6.0",
"Pillow>=10.2,<11", # unlikely to introduce breaking changes in minor releases
"ray[default]>=2.10.0,<2.11",
"ray[default]>=2.10.0,<2.41",
]

extras_require = dict()
Expand Down
Loading