We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b7e55b8 commit ac24c1eCopy full SHA for ac24c1e
.github/workflows/mac_test.yml
@@ -34,8 +34,12 @@ jobs:
34
35
- name: Run Demo
36
run: |
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")
+ # 1. Find the directory containing Demo.py
+ DEMO_DIR=$(find . -type d -name "Demo" | head -n 1)
+ echo "Found Demo directory at: $DEMO_DIR"
+
41
+ # 2. Change into that directory
42
+ cd "$DEMO_DIR"
43
44
+ # 3. Run the script now that we are in the correct folder
45
python Demo.py
0 commit comments