Skip to content

Commit

Permalink
Improved GH action to test branch in test-cm.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
arjunsuresh authored Jun 8, 2024
1 parent 89d4289 commit 596dba4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test-cm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 596dba4

Please sign in to comment.