mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-27 01:55:53 +08:00
Integration tests: Add Makefile target
This enables unfamiliar users to run the tests quickly without having to memorize all commandsline options.
This commit is contained in:
@@ -12,9 +12,8 @@ jobs:
|
||||
run: update-alternatives --install /usr/bin/python python /usr/bin/python3 10
|
||||
- name: Install psutil
|
||||
run: pip3 install psutil
|
||||
- name: Build PX4 in simulation mode
|
||||
- name: Build PX4 in SITL integration test mode
|
||||
# Build all targets
|
||||
run: make px4_sitl_default sitl_gazebo mavsdk_tests
|
||||
# Check: Are the env variables needed?run: PX4_MAVSDK_TESTING=y DONT_RUN=1 make px4_sitl gazebo mavsdk_tests
|
||||
run: DONT_RUN=1 make px4_sitl gazebo mavsdk_tests
|
||||
- name: Run simulation tests
|
||||
run: test/mavsdk_tests/mavsdk_test_runner.py --speed-factor 100
|
||||
|
||||
Reference in New Issue
Block a user