Skip to content

Commit 8d76769

Browse files
authored
[CI] Fix only 30 skipped issue checked by gh (#2265)
Disable_e2e
1 parent 9aac5a1 commit 8d76769

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/_linux_build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
if: ${{ ! endsWith(inputs.pytorch, '_wheel') }}
6060
runs-on: ${{ needs.runner.outputs.runner_id }}
6161
container:
62-
image: 'pytorch/manylinux2_28-builder:xpu-main'
62+
image: 'pytorch/manylinux2_28-builder:xpu-2.9'
6363
volumes:
6464
- ${{ github.workspace }}:${{ github.workspace }}
6565
env:

.github/workflows/_linux_ut.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,10 +155,10 @@ jobs:
155155
# get distributed known issues
156156
gh --repo intel/torch-xpu-ops issue view $UT_SKIP_ISSUE --json body -q .body |sed -E '/^(#|$)/d' > Known_issue.log.tmp
157157
# get skipped known issues
158-
count=$(gh api "repos/${{ github.repository }}/issues?labels=skipped" --jq 'length')
158+
count=$(gh api --paginate "repos/${{ github.repository }}/issues?labels=skipped" --jq 'length')
159159
if [ "$count" -gt 0 ]; then
160160
echo -e "$count issues with skipped label found"
161-
gh api "repos/${{ github.repository }}/issues?labels=skipped" \
161+
gh api --paginate "repos/${{ github.repository }}/issues?labels=skipped" \
162162
--jq '.[] | select(.pull_request == null) | "Issue #\(.number): \(.title)\n\(.body)\n"' > issues.log
163163
fi
164164
if [ "${{ inputs.ut }}" == "basic" ];then

.github/workflows/_windows_ut.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -331,10 +331,10 @@ jobs:
331331
cd ${{ github.workspace }}/ut_log
332332
333333
# get skipped known issues
334-
count=$(gh api "repos/${{ github.repository }}/issues?labels=skipped_windows" --jq 'length')
334+
count=$(gh api --paginate "repos/${{ github.repository }}/issues?labels=skipped_windows" --jq 'length')
335335
if [ "$count" -gt 0 ]; then
336336
echo -e "$count issues with skipped label found"
337-
gh api "repos/${{ github.repository }}/issues?labels=skipped_windows" \
337+
gh api --paginate "repos/${{ github.repository }}/issues?labels=skipped_windows" \
338338
--jq '.[] | select(.pull_request == null) | "Issue #\(.number): \(.title)\n\(.body)\n"' > issues.log
339339
fi
340340

0 commit comments

Comments
 (0)