René's URL Explorer Experiment


Title: [BUG]: Windows CI Tests False-Positive of Passing · Issue #604 · commitizen-tools/commitizen · GitHub

Open Graph Title: [BUG]: Windows CI Tests False-Positive of Passing · Issue #604 · commitizen-tools/commitizen

X Title: [BUG]: Windows CI Tests False-Positive of Passing · Issue #604 · commitizen-tools/commitizen

Description: Description After reviewing your Actions, it is clear tests are not running on Windows machines. On Windows, the linter and test script does not output any results and takes 0 or 1s to complete, whereas on Linux/MacOS they take >1 minute...

Open Graph Description: Description After reviewing your Actions, it is clear tests are not running on Windows machines. On Windows, the linter and test script does not output any results and takes 0 or 1s to complete, wh...

X Description: Description After reviewing your Actions, it is clear tests are not running on Windows machines. On Windows, the linter and test script does not output any results and takes 0 or 1s to complete, wh...

Opengraph URL: https://github.com/commitizen-tools/commitizen/issues/604

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[BUG]: Windows CI Tests False-Positive of Passing","articleBody":"### Description\r\n\r\nAfter reviewing your `Actions`, it is clear tests are not running on Windows machines. On Windows, the `linter and test` script does not output any results and takes 0 or 1s to complete, whereas on Linux/MacOS they take \u003e1 minute and output `pytest` results.\r\n\r\nYour `.github/workflows/pythonpackage.yml` worflow does not specify a shell to use in the `Run tests and linters` step. Hence, on Windows, it defaults to using Powershell. Thus, what is run ([which you can see in this example workflow](https://github.com/commitizen-tools/commitizen/actions/runs/3073641248/jobs/4965906704)) is simply:\r\n\r\n```pwsh\r\npwsh -Command ./scripts/test\r\n```\r\n\r\nThis does nothing more than ask Windows to attempt to open a file it does not know how to handle, which is easily repeated locally:\r\n\r\nhttps://user-images.githubusercontent.com/59346180/196010833-4f63b4b0-864a-496e-9ee9-cdaa490685bf.mp4\r\n\r\nCloning the repo, changing the shebang [to a portable variant](https://www.diskinternals.com/linux-reader/usr-bin-bash/), and running `pytest`, it is clear many tests are failing on Windows. This was first noticed in #602 \r\n\r\nhttps://github.com/commitizen-tools/commitizen/files/9790428/pytest_report.zip\r\n\r\n### Steps to reproduce\r\n\r\n1. Follow the [Contributing](https://commitizen-tools.github.io/commitizen/contributing/) steps to:\r\n    (a) Fork the repo, install dependencies through poetry, and setup the pre-commit hooks\r\n2. Run pre-commit run --all\r\n\r\n### Current behavior\r\n\r\nTests are failing silently on GitHub Actions (i.e. CI), yielding false positives on prior commits. Tests fail explicitly when the repo is cloned and tested on Windows, which also prevents developers using Windows to contribute (`pre-commit` tests fail, preventing pushing to PRs).\r\n\r\n### Desired behavior\r\n\r\n1. Windows tests run on GitHub Actions\r\n2. Windows users can contribute to your repo\r\n\r\nIf you continue to package for Windows, you need to confirm that your tests are actually running and passing. Your tests are failing at this point.\r\n\r\n### Screenshots\r\n\r\nPlease see the `Description`.\r\n\r\n### Environment\r\n\r\nCommitizen Version: 2.35.0\r\nPython Version: 3.8.10 (tags/v3.8.10:3d8993a, May 3 2021, 11:48:03) [MSC v.1928 64 bit (AMD64)]\r\nOperating System: Windows\r\n\r\n### Local `pytest` Report\r\n\r\nAdding the `pytest` run on Windows, first referenced in #602 . This report was generated using the [`pytest-html` plugin](https://pypi.org/project/pytest-html/).\r\n\r\n[pytest_report.zip](https://github.com/commitizen-tools/commitizen/files/9801994/pytest_report.zip)","author":{"url":"https://github.com/adam-grant-hendry","@type":"Person","name":"adam-grant-hendry"},"datePublished":"2022-10-15T23:20:23.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/604/commitizen/issues/604"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:a96e419f-d375-e398-da2f-387bfefb35e0
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id909C:25BBB7:46129:61349:69789B54
html-safe-nonceb6389b75f2730afb7617f99f359d74d55f988acb156aa814ee2d06e4ce796890
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MDlDOjI1QkJCNzo0NjEyOTo2MTM0OTo2OTc4OUI1NCIsInZpc2l0b3JfaWQiOiI5MTI0ODgwMDkzNDA1NTUxNDQ0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmaca41ed01baf39bd0eec9e7532c962b7daa3e1a1d709a4873fbd94f831cc42631e
hovercard-subject-tagissue:1410316397
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/commitizen-tools/commitizen/604/issue_layout
twitter:imagehttps://opengraph.githubassets.com/2d608df44ada14effba0d48e5274540de316678accee06fe0fe2d402051548cb/commitizen-tools/commitizen/issues/604
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/2d608df44ada14effba0d48e5274540de316678accee06fe0fe2d402051548cb/commitizen-tools/commitizen/issues/604
og:image:altDescription After reviewing your Actions, it is clear tests are not running on Windows machines. On Windows, the linter and test script does not output any results and takes 0 or 1s to complete, wh...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameadam-grant-hendry
hostnamegithub.com
expected-hostnamegithub.com
None2981c597c945c1d90ac6fa355ce7929b2f413dfe7872ca5c435ee53a24a1de50
turbo-cache-controlno-preview
go-importgithub.com/commitizen-tools/commitizen git https://github.com/commitizen-tools/commitizen.git
octolytics-dimension-user_id62252524
octolytics-dimension-user_logincommitizen-tools
octolytics-dimension-repository_id106127589
octolytics-dimension-repository_nwocommitizen-tools/commitizen
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id106127589
octolytics-dimension-repository_network_root_nwocommitizen-tools/commitizen
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release14920c7cb7d7c207b5e72684d0e6f23b65b849b3
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/commitizen-tools/commitizen/issues/604#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcommitizen-tools%2Fcommitizen%2Fissues%2F604
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcommitizen-tools%2Fcommitizen%2Fissues%2F604
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=commitizen-tools%2Fcommitizen
Reloadhttps://github.com/commitizen-tools/commitizen/issues/604
Reloadhttps://github.com/commitizen-tools/commitizen/issues/604
Reloadhttps://github.com/commitizen-tools/commitizen/issues/604
commitizen-tools https://github.com/commitizen-tools
commitizenhttps://github.com/commitizen-tools/commitizen
Please reload this pagehttps://github.com/commitizen-tools/commitizen/issues/604
Notifications https://github.com/login?return_to=%2Fcommitizen-tools%2Fcommitizen
Fork 316 https://github.com/login?return_to=%2Fcommitizen-tools%2Fcommitizen
Star 3.3k https://github.com/login?return_to=%2Fcommitizen-tools%2Fcommitizen
Code https://github.com/commitizen-tools/commitizen
Issues 126 https://github.com/commitizen-tools/commitizen/issues
Pull requests 28 https://github.com/commitizen-tools/commitizen/pulls
Discussions https://github.com/commitizen-tools/commitizen/discussions
Actions https://github.com/commitizen-tools/commitizen/actions
Projects 0 https://github.com/commitizen-tools/commitizen/projects
Security 0 https://github.com/commitizen-tools/commitizen/security
Insights https://github.com/commitizen-tools/commitizen/pulse
Code https://github.com/commitizen-tools/commitizen
Issues https://github.com/commitizen-tools/commitizen/issues
Pull requests https://github.com/commitizen-tools/commitizen/pulls
Discussions https://github.com/commitizen-tools/commitizen/discussions
Actions https://github.com/commitizen-tools/commitizen/actions
Projects https://github.com/commitizen-tools/commitizen/projects
Security https://github.com/commitizen-tools/commitizen/security
Insights https://github.com/commitizen-tools/commitizen/pulse
New issuehttps://github.com/login?return_to=https://github.com/commitizen-tools/commitizen/issues/604
New issuehttps://github.com/login?return_to=https://github.com/commitizen-tools/commitizen/issues/604
[BUG]: Windows CI Tests False-Positive of Passinghttps://github.com/commitizen-tools/commitizen/issues/604#top
type: bughttps://github.com/commitizen-tools/commitizen/issues?q=state%3Aopen%20label%3A%22type%3A%20bug%22
https://github.com/adam-grant-hendry
https://github.com/adam-grant-hendry
adam-grant-hendryhttps://github.com/adam-grant-hendry
on Oct 15, 2022https://github.com/commitizen-tools/commitizen/issues/604#issue-1410316397
which you can see in this example workflowhttps://github.com/commitizen-tools/commitizen/actions/runs/3073641248/jobs/4965906704
to a portable varianthttps://www.diskinternals.com/linux-reader/usr-bin-bash/
#602https://github.com/commitizen-tools/commitizen/issues/602
https://github.com/commitizen-tools/commitizen/files/9790428/pytest_report.ziphttps://github.com/commitizen-tools/commitizen/files/9790428/pytest_report.zip
Contributinghttps://commitizen-tools.github.io/commitizen/contributing/
#602https://github.com/commitizen-tools/commitizen/issues/602
pytest-html pluginhttps://pypi.org/project/pytest-html/
pytest_report.ziphttps://github.com/commitizen-tools/commitizen/files/9801994/pytest_report.zip
type: bughttps://github.com/commitizen-tools/commitizen/issues?q=state%3Aopen%20label%3A%22type%3A%20bug%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.