Skip to content

Commit 753b094

Browse files
authored
Improve gh action (#109)
* Improve gh action
1 parent a602f0a commit 753b094

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.github/workflows/test-mlperf-inference-resnet50.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
# Run MLPerf inference ResNet50
2+
23
name: MLPerf inference ResNet50
34

45
on:
56
pull_request_target:
6-
branches: [ "main", "dev", "mlperf-inference" ]
7+
branches: [ "main", "dev" ]
78
paths:
89
- '.github/workflows/test-mlperf-inference-resnet50.yml'
910
- '**'
@@ -48,7 +49,9 @@ jobs:
4849
CM_PULL_DEFAULT_MLOPS_REPO=no pip install cm4mlops
4950
5051
- name: Pull MLOps repo
52+
run: |
5153
cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }}
54+
5255
- name: Test MLPerf Inference ResNet50 (Windows)
5356
if: matrix.os == 'windows-latest'
5457
run: |

.github/workflows/test-mlperf-inference-retinanet.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ name: MLPerf inference retinanet
44

55
on:
66
pull_request_target:
7-
branches: [ "main", "dev", "mlperf-inference" ]
7+
branches: [ "main", "dev" ]
88
paths:
99
- '.github/workflows/test-mlperf-inference-retinanet.yml'
1010
- '**'
@@ -47,7 +47,9 @@ jobs:
4747
run: |
4848
CM_PULL_DEFAULT_MLOPS_REPO=no pip install cm4mlops
4949
- name: Pull MLOps repo
50+
run: |
5051
cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }}
52+
5153
- name: Test MLPerf Inference Retinanet using ${{ matrix.backend }} on ${{ matrix.os }}
5254
if: matrix.os == 'windows-latest'
5355
run: |

0 commit comments

Comments
 (0)