Skip to content

Commit 682bdd8

Browse files
committed
Try to use correct Python
1 parent 2d4ece8 commit 682bdd8

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/test-wheel-linux.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ jobs:
268268
echo `which pytest`
269269
echo `which python`
270270
cat `which pytest`
271-
if [[ $(abicheck.py check cuda.bindings cuda/bindings/abi/) ]]; then
271+
if [[ $(python ci/tools/abicheck.py check cuda.bindings cuda/bindings/abi/) ]]; then
272272
echo "ABI check passed"
273273
else
274274
echo "ABI check failed"

ci/tools/abicheck.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@ def check(build_dir, abi_dir):
6868

6969

7070
if __name__ == "__main__":
71+
print(f"Python executable: {sys.executable}")
72+
7173
parser = argparse.ArgumentParser(description="Check or regenerate ABI files for a package")
7274
parser.add_argument("action", choices=["regenerate", "check"])
7375
parser.add_argument("package", help="Python package path containing .so files to check")

0 commit comments

Comments
 (0)