Skip to content

Fix CI - run tests && render test results in GitHub UI#43

Merged
mrijken merged 6 commits intomrijken:masterfrom
tiberium:fix_ci
Jul 17, 2025
Merged

Fix CI - run tests && render test results in GitHub UI#43
mrijken merged 6 commits intomrijken:masterfrom
tiberium:fix_ci

Conversation

@tiberium
Copy link
Copy Markdown
Contributor

@tiberium tiberium commented Jul 16, 2025

Hi Marc,
I have run the tests locally after you have merged my changes, and one of the assertions in my unit test is now broken (on master!) since typer in the newer version that you have bumped does not send errors to stdout, now - after your changes - it only sends it to stderr.

So I have prepared a simple fix.
Please note that the code should work, but the test fails, and this is a false negative, so should be fixed.

IN ADDITION - I have fixed CI to prevent such issues in future.

Unfortunately, currently, the CI is broken - no tests are actually run during CI...

I have fixed that, with my changes I have:

  • enabled actually executing the pytest
  • rendered the test results in GitHub GUI (yes!)
  • removed obsolete unit test that was actually testing typer itself

This is not perfect, but I wrote it fast to provide anything...

This PR will prevent merging into master code that is not passing the tests.

PLEASE NOTE that I have updated the poetry.lock file. Now on the ubuntu runner (used by GitHub in CI), poetry is installing the project dependencies, and that's why I had to "fix" this file.

@tiberium tiberium changed the title Fix CU - run tests && render test results in GitHub UI Fix CI - run tests && render test results in GitHub UI Jul 16, 2025
@mrijken mrijken merged commit d7dea15 into mrijken:master Jul 17, 2025
1 check 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