From 596dba48de50a797eeed42e1ebcd9e3840350d76 Mon Sep 17 00:00:00 2001 From: Arjun Suresh Date: Sat, 8 Jun 2024 18:05:18 +0100 Subject: [PATCH] Improved GH action to test branch in test-cm.yml --- .github/workflows/test-cm.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-cm.yml b/.github/workflows/test-cm.yml index 30b2162e2..b65980e63 100644 --- a/.github/workflows/test-cm.yml +++ b/.github/workflows/test-cm.yml @@ -35,7 +35,7 @@ jobs: python setup.py install python -m cmind # cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }} - cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} + cm pull repo mlcommons@cm4mlops --branch=mlperf-inference - name: Lint with flake8 run: | # stop the build if there are Python syntax errors or undefined names @@ -64,7 +64,7 @@ jobs: python -m pip install --upgrade pip python -m pip install cmind # cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }} - cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} + cm pull repo mlcommons@cm4mlops --branch=mlperf-inference - name: Test CM run: | python tests/test_cm.py