Skip to content

Commit 1b987be

Browse files
committed
Minor updates to exclude cuh files
1 parent d9dbe15 commit 1b987be

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ci/check_godbolt.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,12 +135,12 @@ def main():
135135
example_files = []
136136
for root, _, files in os.walk(os.path.join(repo_root, EXAMPLES_DIR)):
137137
for file_name in files:
138-
if file_name.endswith('.cu') or file_name.endswith('.cuh'):
138+
if file_name.endswith('.cu'):
139139
example_files.append(os.path.relpath(os.path.join(root, file_name), repo_root))
140140
else:
141141
# Get the list of changed files between the current branch and the 'dev' branch
142142
changed_files = current_branch.commit.diff(dev_branch.commit)
143-
example_files = [diff.b_path for diff in changed_files if diff.b_path.startswith(EXAMPLES_DIR) and (diff.b_path.endswith('.cu') or diff.b_path.endswith('.cuh'))]
143+
example_files = [diff.b_path for diff in changed_files if diff.b_path.startswith(EXAMPLES_DIR) and (diff.b_path.endswith('.cu'))]
144144

145145
# Iterate through the example files and create short links
146146
for file_path in example_files:

0 commit comments

Comments
 (0)