ci: correct Github Actions CI instability for iOS. (#2337)

* Correct Github Actions CI instability for iOS.

* Add a dummy serial test so CircleCI passes serial test discovery.
This commit is contained in:
Russell Keith-Magee
2025-03-28 10:33:51 -04:00
committed by GitHub
parent 094782a41d
commit 4ef7b3770f
5 changed files with 52 additions and 10 deletions
+9
View File
@@ -18,6 +18,15 @@ basic_project = test_projects.new_c_project(
)
@pytest.mark.serial
def test_dummy_serial():
"""A no-op test to ensure that at least one serial test is always found.
Without this no-op test, CI fails on CircleCI because no serial tests are
found, and pytest errors if a test suite finds no tests.
"""
def test(tmp_path, build_frontend_env, capfd):
project_dir = tmp_path / "project"
basic_project.generate(project_dir)