Skip to content

Commit 7518544

Browse files
committed
docs: adding python script to check diffs in PR
Signed-off-by: Luc Berger-Vergiat <[email protected]>
1 parent b60c801 commit 7518544

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
from git import Repo
2+
3+
repo = Repo("kokkos-kernels")
4+
files = repo.git.diff('HEAD..develop', name_only=True).split()
5+
print(files)

.github/workflows/docs.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ jobs:
2020
with:
2121
python-version: '3.13.2'
2222
- run: pip install --require-hashes -r kokkos-kernels/.github/workflows/docs_check_requirements.txt
23+
- name: check API changes
24+
run: |
25+
python kokkos-kenrels/.github/workflows/check_api_updates.py
2326

2427
build:
2528
runs-on: [macos-latest]

0 commit comments

Comments
 (0)