Skip to content

ci: a failing pyright run now also lets the CI job fail on windows.#1971

Merged
dlech merged 1 commit into
hbldh:developfrom
timrid:fix-pyright-errors-on-windows
Apr 25, 2026
Merged

ci: a failing pyright run now also lets the CI job fail on windows.#1971
dlech merged 1 commit into
hbldh:developfrom
timrid:fix-pyright-errors-on-windows

Conversation

@timrid
Copy link
Copy Markdown
Contributor

@timrid timrid commented Apr 25, 2026

On windows a PowerShell is used instead of a bash. On a PowerShell only the last exit code is checked, so if pyright fails and mypy passes the CI is not failing.

I noticed this while working on #1944.

On windows a PowerShell is used instead of a bash. On a PowerShell only the last exit code is checked, so if pyright fails and mypy passes the CI is not failing.
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 25, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 51.24%. Comparing base (0a81cd2) to head (9d64576).
⚠️ Report is 1 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #1971   +/-   ##
========================================
  Coverage    51.24%   51.24%           
========================================
  Files           39       39           
  Lines         3934     3934           
  Branches       486      486           
========================================
  Hits          2016     2016           
  Misses        1791     1791           
  Partials       127      127           
Flag Coverage Δ
bluez-integration-py3.10 38.40% <ø> (ø)
bluez-integration-py3.11 38.40% <ø> (ø)
bluez-integration-py3.12 38.40% <ø> (ø)
bluez-integration-py3.13 38.40% <ø> (ø)
bluez-integration-py3.14 36.83% <ø> (ø)
macos-latest-py3.10 19.87% <ø> (ø)
macos-latest-py3.11 19.87% <ø> (ø)
macos-latest-py3.12 19.87% <ø> (ø)
macos-latest-py3.13 19.87% <ø> (ø)
macos-latest-py3.14 19.69% <ø> (ø)
ubuntu-latest-py3.10 23.86% <ø> (ø)
ubuntu-latest-py3.11 23.86% <ø> (ø)
ubuntu-latest-py3.12 23.86% <ø> (ø)
ubuntu-latest-py3.13 23.86% <ø> (ø)
ubuntu-latest-py3.14 21.91% <ø> (ø)
windows-latest-py3.10 18.45% <ø> (ø)
windows-latest-py3.11 18.45% <ø> (ø)
windows-latest-py3.12 18.45% <ø> (ø)
windows-latest-py3.13 18.45% <ø> (ø)
windows-latest-py3.14 18.18% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@dlech dlech merged commit 3f7970c into hbldh:develop Apr 25, 2026
23 checks passed
@timrid timrid deleted the fix-pyright-errors-on-windows branch May 2, 2026 11:01
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