Skip to content

fix(ci): Run idf examples in CI#433

Open
peter-marcisovsky wants to merge 4 commits intomasterfrom
fix/ci_run_idf_examples
Open

fix(ci): Run idf examples in CI#433
peter-marcisovsky wants to merge 4 commits intomasterfrom
fix/ci_run_idf_examples

Conversation

@peter-marcisovsky
Copy link
Collaborator

Description

idf-examples are not run in CI

============================= test session starts ==============================
platform linux -- Python 3.11.14, pytest-9.0.2, pluggy-1.6.0
rootdir: /__w/esp-usb/esp-usb
configfile: pytest.ini
plugins: idf-ci-0.7.0, ignore-test-results-0.3.0, embedded-2.6.0, timeout-2.4.0, rerunfailures-16.1
collected 20 items / 20 deselected / 0 selected

=============================== warnings summary ===============================

Pytest files are collected correctly, but all are deselected and no tests are run

Related

Testing


Checklist

Before submitting a Pull Request, please ensure the following:

  • 🚨 This PR does not introduce breaking changes.
  • All CI checks (GH Actions) pass.
  • Documentation is updated as needed.
  • Tests are updated or added as necessary.
  • Code is well-commented, especially in complex areas.
  • Git history is clean — commits are squashed to the minimum necessary.

@peter-marcisovsky peter-marcisovsky self-assigned this Mar 4, 2026
@peter-marcisovsky peter-marcisovsky added CI CI related PR BUILD_AND_TEST_IDF_EXAMPLES Build and run esp-idf usb host and device examples in PR labels Mar 4, 2026
@tore-espressif tore-espressif removed the BUILD_AND_TEST_IDF_EXAMPLES Build and run esp-idf usb host and device examples in PR label Mar 5, 2026
@tore-espressif tore-espressif force-pushed the fix/ci_run_idf_examples branch from 1611f45 to 0cf6024 Compare March 5, 2026 09:49
@tore-espressif
Copy link
Collaborator

@peter-marcisovsky Thank you!

I removed the BUILD_AND_TEST_IDF_EXAMPLES label and rebased to see if it works correctly even when no IDF examples are supposed to be built

@tore-espressif tore-espressif added the BUILD_AND_TEST_IDF_EXAMPLES Build and run esp-idf usb host and device examples in PR label Mar 5, 2026
@tore-espressif tore-espressif force-pushed the fix/ci_run_idf_examples branch from 0cf6024 to 9454cb3 Compare March 5, 2026 10:19
    - Examples were not run in CI, just collected and unselected
    - Fixed .idf_ci.toml to run the examples in CI
    - Removed ignore no tests collected error from pytest cli call
@peter-marcisovsky peter-marcisovsky force-pushed the fix/ci_run_idf_examples branch from 9454cb3 to b7fa004 Compare March 5, 2026 12:09
@peter-marcisovsky peter-marcisovsky marked this pull request as ready for review March 5, 2026 12:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

BUILD_AND_TEST_IDF_EXAMPLES Build and run esp-idf usb host and device examples in PR CI CI related PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants