Skip to content

Commit 68e1cd3

Browse files
authored
Update main.yml
Turning off the format code for now. Currently, set up to run on an internal cluster. Needs testing on docker.
1 parent aa505b8 commit 68e1cd3

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

.github/workflows/main.yml

+18-18
Original file line numberDiff line numberDiff line change
@@ -84,22 +84,22 @@ jobs:
8484
- uses: actions/checkout@v4
8585
- name: Run Simulation
8686
run: /bin/bash $GITHUB_WORKSPACE/short-tests.sh
87-
format-code:
88-
if: github.event_name == 'pull_request'
89-
runs-on: tgrogers-raid
90-
needs: [build-TITANV, build-TITANV-LOCALXBAR, build-QV100, build-2060, build-3070]
91-
steps:
92-
- uses: actions/checkout@v4
93-
with:
94-
ref: ${{github.event.pull_request.head.ref}}
95-
repository: ${{github.event.pull_request.head.repo.full_name}}
96-
ssh-key: ''
87+
#format-code:
88+
# if: github.event_name == 'pull_request'
89+
# runs-on: tgrogers-raid
90+
# needs: [build-TITANV, build-TITANV-LOCALXBAR, build-QV100, build-2060, build-3070]
91+
# steps:
92+
# - uses: actions/checkout@v4
93+
# with:
94+
# ref: ${{github.event.pull_request.head.ref}}
95+
# repository: ${{github.event.pull_request.head.repo.full_name}}
96+
# ssh-key: ''
9797

98-
- name: Run clang-format
99-
run: |
100-
git config user.name "purdue-jenkins"
101-
git config user.email "[email protected]"
102-
git remote set-url origin [email protected]:${{github.event.pull_request.head.repo.full_name}}
103-
git remote -v
104-
/bin/bash ./format-code.sh
105-
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
98+
# - name: Run clang-format
99+
# run: |
100+
# git config user.name "purdue-jenkins"
101+
# git config user.email "[email protected]"
102+
# git remote set-url origin [email protected]:${{github.event.pull_request.head.repo.full_name}}
103+
# git remote -v
104+
# /bin/bash ./format-code.sh
105+
# 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

0 commit comments

Comments
 (0)