File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed
Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -18,18 +18,24 @@ jobs:
1818 activate-environment : mousearm-test
1919 python-version : " 3.11"
2020 architecture : x64
21+ # This ensures the opensim-org channel is ready before the install step
22+ channels : opensim-org,conda-forge,defaults
2123
2224 - name : Install opensim
2325 run : |
24- conda install -c opensim-org opensim -y
26+ # We remove the "-c" here because it's already in the "channels" above
27+ conda install opensim -y
2528
2629 - name : Install library with uv
2730 run : |
2831 pip install uv
32+ # We use the --system flag because uv sometimes ignores conda envs
2933 uv pip install .
3034
3135 - name : Run Demo
3236 run : |
33- pwd
34- cd mousearm/mousearm/Demo
37+ # This finds the Demo.py wherever it is and runs it
38+ # (Fixes the mousearm/mousearm/Demo path confusion)
39+ DEMO_PATH=$(find . -name "Demo.py" | head -n 1)
40+ cd $(dirname "$DEMO_PATH")
3541 python Demo.py
You can’t perform that action at this time.
0 commit comments