File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -81,11 +81,15 @@ jobs:
8181 pip install --upgrade pip
8282 pip install rootcanal==1.3.0
8383 pip install .
84+ mkdir -p out
8485 - name : Rootcanal
85- run : nohup python -m rootcanal > rootcanal.log &
86+ run : nohup python -m rootcanal > out/ rootcanal.log &
8687 - name : Test
8788 run : |
8889 avatar --list | grep -Ev '^=' > test-names.txt
8990 timeout 5m avatar --test-beds bumble.bumbles --tests $(split test-names.txt -n l/${{ matrix.shard }})
90- - name : Rootcanal Logs
91- run : cat rootcanal.log
91+ - uses : actions/upload-artifact@v3
92+ if : success() || failure()
93+ with :
94+ name : Artifacts [${{ matrix.shard }}]
95+ path : out/
Original file line number Diff line number Diff line change @@ -110,6 +110,9 @@ def run(self) -> bool:
110110 # Enable Bumble snoop logs.
111111 os .environ .setdefault ('BUMBLE_SNOOPER' , f'btsnoop:file:{ self .logs_dir } /{ _BUMBLE_BTSNOOP_FMT } ' )
112112
113+ # Set Mobly log path.
114+ os .environ .setdefault ('ENV_MOBLY_LOGPATH' , str (self .logs_dir ))
115+
113116 # Execute the suite
114117 ok = True
115118 for config in self .test_run_configs :
You can’t perform that action at this time.
0 commit comments