ci: upload failed logs

This commit is contained in:
Ramon Roche
2024-08-20 12:09:24 -07:00
parent 5b3bd52d05
commit 6049d96274
+7
View File
@@ -189,6 +189,13 @@ jobs:
run: test/mavsdk_tests/mavsdk_test_runner.py --speed-factor 20 --abort-early --model ${{matrix.config.model}} --upload test/mavsdk_tests/configs/sitl.json --verbose
timeout-minutes: 45
- name: Upload failed logs
if: failure()
uses: actions/upload-artifact@v4
with:
name: ${{matrix.config.model}}-logs
path: logs/**/**/**/*.log # logs/date/vehicle/test/*.logs
- name: Look at Core files
if: failure()
run: gdb build/px4_sitl_default/bin/px4 px4.core -ex "thread apply all bt" -ex "quit"