Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix some test issues #1396

Conversation

arxanas
Copy link
Owner

@arxanas arxanas commented Sep 7, 2024

No description provided.

@arxanas arxanas changed the title fix(init): replace broken test test_man_viewer with test_help_flag [1/1] fix(init): replace broken test test_man_viewer with test_help_flag Sep 7, 2024
@arxanas arxanas force-pushed the arxanas/fix-init-replace-broken-test-test-man-viewer-with-test-help-flag branch from b98f0f5 to 6f0d53b Compare September 7, 2024 22:06
@arxanas arxanas changed the title [1/1] fix(init): replace broken test test_man_viewer with test_help_flag Fix some test issues Sep 7, 2024
@arxanas arxanas enabled auto-merge (rebase) September 7, 2024 22:10
Not sure why, but failing to call `git-branchless-*` subcommands seems to cause an error in CI: https://github.com/arxanas/git-branchless/actions/runs/10754720519/job/29825644537?pr=1396

It might only be an issue with `--all-features`/the `man-pages` feature.
Only runs with the `man-pages` feature. Actually, the test is probably still logically broken, since it's no longer printing man-page content, but just normal help page content.
This was fixed by the `git2` upgrade from v0.18.3 to v0.19.0 in #1393.
It looks like at some point we deleted all the individual subcommand binaries that used to be built with the `man-pages` feature. This test therefore is no longer useful/valid.
@arxanas arxanas force-pushed the arxanas/fix-init-replace-broken-test-test-man-viewer-with-test-help-flag branch from a1577f0 to d650e43 Compare October 9, 2024 10:37
It looks like Git on the GitHub Actions Windows CI runner was updated from v2.45 to v2.46 in image version `20240915.1.0` (see https://github.com/actions/runner-images/blob/e3b97844e5589424d845da8eabba9d2f73852577/images/windows/Windows2022-Readme.md).

Tests are failing for v2.46 for git-branchless on all platforms (but that version is not currently part of the CI matrix for Linux). I don't have time to fix the tests for v2.46 right now, so this commit disables the tests for Windows. (It would also be possible to build and test against a specific version of Git on Windows, but I don't have time to figure that out either.)
@arxanas arxanas force-pushed the arxanas/fix-init-replace-broken-test-test-man-viewer-with-test-help-flag branch from c81e7a1 to 79539ec Compare October 9, 2024 11:43
@arxanas arxanas merged commit d011db9 into master Oct 9, 2024
14 checks passed
@arxanas arxanas deleted the arxanas/fix-init-replace-broken-test-test-man-viewer-with-test-help-flag branch October 9, 2024 11:50
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.

1 participant