mirror of
https://github.com/PhotonVision/photonvision
synced 2026-06-19 00:41:41 +00:00
_Test what you build, deploy what you test._ This refactors the Python CI workflow to wait for _all_ tests to pass before publishing photonlibpy to PyPI. - build-python-examples reuses the built wheel, removes redundant builds - Simplify run.sh to not rebuild wheel since it's already installed
13 lines
207 B
Bash
Executable File
13 lines
207 B
Bash
Executable File
# Check if the first argument is provided
|
|
if [ $# -eq 0 ]
|
|
then
|
|
echo "Error: No example-to-run provided."
|
|
exit 1
|
|
fi
|
|
|
|
# Move to the right example folder
|
|
cd $1
|
|
|
|
# Run the example
|
|
python3 robot.py sim
|