Skip to content

Allow pytest discovery to find and run Python tests #16

Allow pytest discovery to find and run Python tests

Allow pytest discovery to find and run Python tests #16

Workflow file for this run

name: ci
on:
push:
pull_request:
workflow_dispatch:
jobs:
pytest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: actions/setup-python@v5
with:
python-version: 3.x
- run: pip install --upgrade pip
- run: pip install numpy pytest setuptools
- run: pip install --editable modules/mavlink/pymavlink
- run: pytest --ignore=modules/DroneCAN
--ignore=modules/gtest
--ignore=modules/mavlink/pymavlink/generator/C/test/posix/sha256_test.py
--ignore=modules/waf/playground
--ignore=Tools/autotest/test_build_options.py
--ignore=Tools/autotest/test_param_upgrade.py
--ignore=Tools/FilterTestTool/run_filter_test.py
--ignore=Tools/ros2/ardupilot_dds_tests/test