Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 73cbc49

Browse files
committedJun 23, 2025·
DRAFT: Check pytest discovery's ability to find Python tests
* #30292 says that dependencies are being pinned to out-of-date versions. Let's use pytest discover to see which Python tests will be found and see what dependencies they require, and if they will pass with the current versions of those dependencies. https://docs.pytest.org/en/stable/explanation/goodpractices.html#conventions-for-python-test-discovery
1 parent 22582bc commit 73cbc49

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed
 

‎.github/workflows/ci.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: ci
2+
on:
3+
push:
4+
pull_request:
5+
workflow_dispatch:
6+
jobs:
7+
pytest:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v4
11+
with:
12+
submodules: recursive
13+
- uses: actions/setup-python@v5
14+
with:
15+
python-version: 3.x
16+
- run: pip install --upgrade pip
17+
- run: pip install numpy pytest setuptools
18+
- run: pip install --editable modules/mavlink/pymavlink
19+
- run: pytest --ignore=modules/DroneCAN
20+
--ignore=modules/gtest
21+
--ignore=modules/mavlink/pymavlink/generator/C/test/posix/sha256_test.py
22+
--ignore=modules/waf/playground
23+
--ignore=Tools/autotest/test_build_options.py
24+
--ignore=Tools/autotest/test_param_upgrade.py
25+
--ignore=Tools/FilterTestTool/run_filter_test.py
26+
--ignore=Tools/ros2/ardupilot_dds_tests/test

0 commit comments

Comments
 (0)
Please sign in to comment.