Skip to content

Feat/test supported targets#342

Merged
hfudev merged 2 commits intoespressif:mainfrom
horw:feat/test-supported-targets
Feb 20, 2025
Merged

Feat/test supported targets#342
hfudev merged 2 commits intoespressif:mainfrom
horw:feat/test-supported-targets

Conversation

@horw
Copy link
Copy Markdown
Collaborator

@horw horw commented Feb 18, 2025

Description

Make it possible to propagate supported targets and preview targets with ContextVars.

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.

@horw horw force-pushed the feat/test-supported-targets branch from 1b2c762 to 440c18e Compare February 18, 2025 10:21
Copy link
Copy Markdown
Member

@hfudev hfudev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

your current approach would process this env var again and again in each test case. it's better to do it in a global contextvar. https://docs.python.org/3/library/contextvars.html

@horw horw force-pushed the feat/test-supported-targets branch from 440c18e to 7dceaa7 Compare February 18, 2025 14:31
@horw horw requested a review from hfudev February 18, 2025 14:32
@horw horw force-pushed the feat/test-supported-targets branch from 7dceaa7 to fc7f3bd Compare February 18, 2025 14:36
@horw horw requested a review from hfudev February 19, 2025 07:31
Copy link
Copy Markdown
Member

@hfudev hfudev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. comments are only about docs and help messages

@horw horw force-pushed the feat/test-supported-targets branch from 0ffac0e to fff28ac Compare February 19, 2025 09:48
@horw horw requested a review from hfudev February 19, 2025 09:50
@hfudev hfudev merged commit 7c3f6d2 into espressif:main Feb 20, 2025
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants