Skip to content

Commit e06fbaf

Browse files
committed
Bugfix
1 parent 1705527 commit e06fbaf

File tree

3 files changed

+10
-11
lines changed

3 files changed

+10
-11
lines changed

.github/workflows/_linux-test-cpu.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: linux-test-cpu
22

33
jobs:
4-
linux-pr-test-cpu:
4+
linux-test-cpu:
55
# Don't run on forked repos
66
if: github.repository_owner == 'pytorch'
77
runs-on: [self-hosted, linux.24xlarge]

.github/workflows/_linux-test-cuda.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: linux-test-cuda
22

33
jobs:
4-
linux-pr-test-cuda:
4+
linux-test-cuda:
55
# Don't run on forked repos
66
if: github.repository_owner == 'pytorch'
77
runs-on: [a100-runner]

.github/workflows/pr-test.yml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,16 @@ on:
66
branches:
77
- main
88

9+
concurrency:
10+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref_name }}-${{ github.ref_type == 'branch' && github.sha }}-${{ github.event_name == 'workflow_dispatch' }}-${{ github.event_name == 'schedule' }}
11+
cancel-in-progress: true
12+
913
jobs:
1014
cpu-test:
11-
timeout-minutes: 120 # 2 hours
12-
uses: ./.github/workflow/_linux-test-cpu.yml
15+
uses: ./.github/workflows/_linux-test-cpu.yml
1316
with:
14-
timeout-minutes: 120 # 2 hours
17+
timeout-minutes: 240 # 4 hours
1518
cuda-test:
16-
uses: ./.github/workflow/_linux-test-cuda.yml
19+
uses: ./.github/workflows/_linux-test-cuda.yml
1720
with:
18-
timeout-minutes: 120 # 2 hours
19-
20-
concurrency:
21-
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}-${{ github.event_name == 'workflow_dispatch' }}
22-
cancel-in-progress: true
21+
timeout-minutes: 240 # 4 hours

0 commit comments

Comments
 (0)