Skip to content

Commit 46af185

Browse files
committed
chagne to llvm-project
1 parent 1f44868 commit 46af185

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/e2e.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ on:
1010
target_repo:
1111
description: 'Target repository to test against'
1212
required: false
13-
default: 'python/cpython'
13+
default: 'llvm/llvm-project'
1414
clang_version:
1515
description: 'Clang version to use'
1616
required: false
1717
default: '20'
1818
style:
1919
description: 'Clang-format style'
2020
required: false
21-
default: 'Google'
21+
default: 'file'
2222

2323
jobs:
2424
e2e-test:
@@ -39,7 +39,7 @@ jobs:
3939
4040
- name: Clone target repository
4141
run: |
42-
git clone --depth=1 https://github.com/${{ github.event.inputs.target_repo || 'python/cpython' }}.git test-repo
42+
git clone --depth=1 https://github.com/${{ github.event.inputs.target_repo || 'llvm/llvm-project' }}.git test-repo
4343
4444
- name: Replace pre-commit configuration
4545
run: |
@@ -52,8 +52,6 @@ jobs:
5252
hooks:
5353
- id: clang-format
5454
args: [--style=${{ github.event.inputs.style || 'Google' }}, --version=${{ github.event.inputs.clang_version || '20' }}]
55-
files: ^(.*\.(c|cc|cpp|cxx|h|hpp|hxx))$
56-
exclude: Modules/_ctypes/cfield.c
5755
EOF
5856
5957
- name: Install and run hook

0 commit comments

Comments
 (0)