Skip to content

Add CI check for Python scripts#2163

Merged
DocMoebiuz merged 8 commits intoMobiFlight:mainfrom
Nezz:ci/ScriptPythonCheck
May 25, 2025
Merged

Add CI check for Python scripts#2163
DocMoebiuz merged 8 commits intoMobiFlight:mainfrom
Nezz:ci/ScriptPythonCheck

Conversation

@Nezz
Copy link
Contributor

@Nezz Nezz commented May 17, 2025

Context: #2162

Add CI check for Python scripts that verifies that the scripts work with supported Python versions and that there are no import issues.

Example failure when running with Python 3.10:
https://github.com/Nezz/MobiFlight-Connector/actions/runs/15087553498/job/42412022488

This revealed a couple of issues in the existing scripts that I fixed.

@Nezz Nezz requested a review from DocMoebiuz as a code owner May 17, 2025 17:42
@Koseng
Copy link
Contributor

Koseng commented May 17, 2025

Thanks a lot! Every help is appreciated.

@Koseng
Copy link
Contributor

Koseng commented May 18, 2025

Python script adjustments seem fine. CI I cannot judge.

From my point of view ready to be merged.

Copy link
Collaborator

@DocMoebiuz DocMoebiuz left a comment

Choose a reason for hiding this comment

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

Thanks for your contribution!

Please rename scripts.yml to python-script-checks.yml to make it clear that they are focusing on the python scripts

@github-actions
Copy link

Build for this pull request:
MobiFlightConnector.zip

@Nezz Nezz requested a review from DocMoebiuz May 18, 2025 21:23
@github-actions
Copy link

Build for this pull request:
MobiFlightConnector.zip

@github-actions
Copy link

Build for this pull request:
MobiFlightConnector.zip

@github-actions
Copy link

Build for this pull request:
MobiFlightConnector.zip

@Nezz
Copy link
Contributor Author

Nezz commented May 22, 2025

@DocMoebiuz Friendly reminder that this is ready for re-review

@DocMoebiuz DocMoebiuz merged commit 7e848b7 into MobiFlight:main May 25, 2025
5 checks passed
@DocMoebiuz DocMoebiuz added the development Development related chores or improvements, e.g. release process label May 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

development Development related chores or improvements, e.g. release process

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants