From 68e1cd30efaecbd71b496822f9d88a5803b33841 Mon Sep 17 00:00:00 2001 From: Tim Rogers Date: Tue, 11 Feb 2025 16:57:13 -0500 Subject: Update main.yml Turning off the format code for now. Currently, set up to run on an internal cluster. Needs testing on docker. --- .github/workflows/main.yml | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) (limited to '.github') diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8e0ae23..954b98f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -84,22 +84,22 @@ jobs: - uses: actions/checkout@v4 - name: Run Simulation run: /bin/bash $GITHUB_WORKSPACE/short-tests.sh - format-code: - if: github.event_name == 'pull_request' - runs-on: tgrogers-raid - needs: [build-TITANV, build-TITANV-LOCALXBAR, build-QV100, build-2060, build-3070] - steps: - - uses: actions/checkout@v4 - with: - ref: ${{github.event.pull_request.head.ref}} - repository: ${{github.event.pull_request.head.repo.full_name}} - ssh-key: '' + #format-code: + # if: github.event_name == 'pull_request' + # runs-on: tgrogers-raid + # needs: [build-TITANV, build-TITANV-LOCALXBAR, build-QV100, build-2060, build-3070] + # steps: + # - uses: actions/checkout@v4 + # with: + # ref: ${{github.event.pull_request.head.ref}} + # repository: ${{github.event.pull_request.head.repo.full_name}} + # ssh-key: '' - - name: Run clang-format - run: | - git config user.name "purdue-jenkins" - git config user.email "purdue-jenkins@users.noreply.github.com" - git remote set-url origin git@github.com:${{github.event.pull_request.head.repo.full_name}} - git remote -v - /bin/bash ./format-code.sh - if git status --untracked-files=no | grep -q "nothing to commit"; then echo "No changes to commit."; else git commit -a -m "Automated Format"; git push; fi + # - name: Run clang-format + # run: | + # git config user.name "purdue-jenkins" + # git config user.email "purdue-jenkins@users.noreply.github.com" + # git remote set-url origin git@github.com:${{github.event.pull_request.head.repo.full_name}} + # git remote -v + # /bin/bash ./format-code.sh + # if git status --untracked-files=no | grep -q "nothing to commit"; then echo "No changes to commit."; else git commit -a -m "Automated Format"; git push; fi -- cgit v1.3