Skip to content

Commit 70a5f04

Browse files
lizhouyufacebook-github-bot
authored andcommitted
Restore workflow file changes for D76242338 (#3074)
Summary: Pull Request resolved: #3074 ### Motivation The updated workflow in Diff D76242338 has been broken due to the revert operation in Diff D76273807 ### Major changes Copy and paste workflow file configurations in D76242338 for - `//torchrec/github/.github/workflows/unittest_ci.yml` - `//torchrec/github/.github/workflows/unittest_ci_cpu.yml` Reviewed By: TroyGarden Differential Revision: D76309605 fbshipit-source-id: 95c29cd3d89272cd0558aac724e07e46a3efe012
1 parent 3de503f commit 70a5f04

File tree

1 file changed

+27
-18
lines changed

1 file changed

+27
-18
lines changed

.github/workflows/unittest_ci_cpu.yml

Lines changed: 27 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -20,24 +20,33 @@ on:
2020
jobs:
2121
build_test:
2222
strategy:
23-
fail-fast: false
24-
matrix:
25-
include:
26-
- os: linux.2xlarge
27-
python-version: 3.9
28-
python-tag: "py39"
29-
- os: linux.2xlarge
30-
python-version: '3.10'
31-
python-tag: "py310"
32-
- os: linux.2xlarge
33-
python-version: '3.11'
34-
python-tag: "py311"
35-
- os: linux.2xlarge
36-
python-version: '3.12'
37-
python-tag: "py312"
38-
- os: linux.2xlarge
39-
python-version: '3.13'
40-
python-tag: "py313"
23+
fail-fast: false
24+
matrix:
25+
os:
26+
- linux.2xlarge
27+
python:
28+
- version: "3.9"
29+
tag: "py39"
30+
- version: "3.10"
31+
tag: "py310"
32+
- version: "3.11"
33+
tag: "py311"
34+
- version: "3.12"
35+
tag: "py312"
36+
- version: "3.13"
37+
tag: "py313"
38+
is_pr:
39+
- ${{ github.event_name == 'pull_request' }}
40+
exclude:
41+
- is_pr: true
42+
python:
43+
version: "3.10"
44+
- is_pr: true
45+
python:
46+
version: "3.11"
47+
- is_pr: true
48+
python:
49+
version: "3.12"
4150
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
4251
permissions:
4352
id-token: write

0 commit comments

Comments
 (0)