Skip to content

test: Add test for app version in container#1561

Open
tpoliaw wants to merge 2 commits into
mainfrom
container-version-test
Open

test: Add test for app version in container#1561
tpoliaw wants to merge 2 commits into
mainfrom
container-version-test

Conversation

@tpoliaw

@tpoliaw tpoliaw commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

Ensure that the version number of the app in the container matches the version we expect.

tpoliaw added 2 commits June 24, 2026 11:42
Running `uv add debugpy` in the container modifies pyproject.toml and
uv.lock so `git describe` reports local changes in the repo and appends
a `dev0+g<commit>.d<date>` suffix to the version used for the blueapi in
the container

Using `uv pip install debugpy` makes it available in the environment
without modifying any tracked files.

This has to be run after the `uv sync` to stop it being removed again.
@tpoliaw

tpoliaw commented Jun 24, 2026

Copy link
Copy Markdown
Contributor Author

From previous PR #1528 (comment)

I don't understand why the version number is being mangled by the setuptools-scm. 1.14.1-dev.1 is becoming 1.14.1.dev1 and I haven't figured out why yet.

@codecov

codecov Bot commented Jun 24, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.86%. Comparing base (dd3f40d) to head (b5aabdb).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1561   +/-   ##
=======================================
  Coverage   95.86%   95.86%           
=======================================
  Files          44       44           
  Lines        3292     3292           
=======================================
  Hits         3156     3156           
  Misses        136      136           

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

abbiemery
abbiemery previously approved these changes Jun 24, 2026
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.

3 participants