Skip to content

Commit

Permalink
do the diff in the last step so the upload still happens
Browse files Browse the repository at this point in the history
  • Loading branch information
geohot committed Nov 26, 2023
1 parent 3cd24cf commit 3d402bb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,10 @@ jobs:
cd ctypeslib
pip install .
clang2py -V
- name: Generate headers and confirm they match
- name: Generate headers
run: |
mv gpuctypes/${{ matrix.task }}.py gpuctypes/${{ matrix.task }}.py.bak
./generate_${{ matrix.task }}.sh
diff gpuctypes/${{ matrix.task }}.py.bak gpuctypes/${{ matrix.task }}.py
- name: Install gpuctypes
run: pip install .
- name: Test gpuctypes import
Expand All @@ -89,4 +88,6 @@ jobs:
with:
name: Generated ${{ matrix.task }} Header
path: gpuctypes/${{ matrix.task }}.py
- name: Confirm the generated headers match the committed
run: diff gpuctypes/${{ matrix.task }}.py.bak gpuctypes/${{ matrix.task }}.py

0 comments on commit 3d402bb

Please sign in to comment.