Skip to content

Commit 6478850

Browse files
committed
Move check to pixi
1 parent 237e114 commit 6478850

File tree

8 files changed

+17
-840
lines changed

8 files changed

+17
-840
lines changed

.github/workflows/build_and_test.yml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -61,14 +61,6 @@ jobs:
6161
docker run --rm \
6262
roboplan_ubuntu:${{ steps.sanitize_tag.outputs.tag }} \
6363
/bin/bash -c './scripts/run_tests.bash'
64-
- name: Check bindings stub files
65-
run: |
66-
if git diff --exit-code -- 'bindings/src/roboplan/roboplan_ext/*.pyi'; then
67-
echo "::error::The .pyi stub files are out of sync with the source code. Make sure to rebuild the Python bindings without symlink builds and commit the changes."
68-
echo "Git Diff:"
69-
git diff -- 'bindings/src/roboplan/roboplan_ext/*.pyi'
70-
exit 1
71-
fi
7264
7365
# Build ROS docker images and run tests.
7466
ros_build_and_test:
@@ -141,6 +133,8 @@ jobs:
141133
frozen: true
142134
manifest-path: pixi.toml
143135
- name: Build and test
136+
env:
137+
CMAKE_INSTALL_MODE: "COPY"
144138
run: |
145139
pixi run install_all
146140
pixi run build_tests
@@ -149,3 +143,11 @@ jobs:
149143
- name: Run benchmarks
150144
run: |
151145
pixi run test_benchmarks
146+
- name: Check bindings stub files
147+
run: |
148+
if ! git diff --exit-code --shortstat -- 'bindings/src/roboplan/roboplan_ext/*.pyi'; then
149+
echo "::error::The .pyi stub files are out of sync with the source code. Make sure to rebuild the Python bindings without symlink builds and commit the changes."
150+
echo "Git Diff:"
151+
git diff -- 'bindings/src/roboplan/roboplan_ext/*.pyi'
152+
exit 1
153+
fi

bindings/src/roboplan/roboplan_ext/__init__.pyi

Lines changed: 0 additions & 8 deletions
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../../build/cp311-cp311-linux_x86_64/roboplan_ext/__init__.pyi

0 commit comments

Comments
 (0)