Skip to content

Commit

Permalink
Merge pull request #445 from GATEOverflow/mlperf-inference
Browse files Browse the repository at this point in the history
Fix Individual CM script test
  • Loading branch information
arjunsuresh authored Oct 30, 2024
2 parents bf6ce27 + e04b656 commit 0dc89a8
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/run-individual-script-tests.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# This workflow will add/update the README.md files for any updated CM scripts
name: Readme update for CM scripts
# This workflow will run configured tests for any updated CM scripts
name: Individual CM script Tests

on:
pull_request:
Expand All @@ -19,7 +19,9 @@ jobs:
- name: Get changed files
id: getfile
run: |
echo "files=$(git diff --name-only ${{ github.event.before }} | xargs)" >> $GITHUB_OUTPUT
git remote add upstream ${{ github.event.pull_request.base.repo.clone_url }}
git fetch upstream
echo "files=$(git diff \"upstream\" \"${{ github.event.pull_request.base.ref }}\" --name-only | xargs)" >> $GITHUB_OUTPUT
- name: RUN Script Tests
run: |
echo ${{ steps.getfile.outputs.files }}
Expand Down

0 comments on commit 0dc89a8

Please sign in to comment.