René's URL Explorer Experiment


Title: Make test suite independent of .git directory · Issue #304 · codecov/codecov-python · GitHub

Open Graph Title: Make test suite independent of .git directory · Issue #304 · codecov/codecov-python

X Title: Make test suite independent of .git directory · Issue #304 · codecov/codecov-python

Description: By simply removing the .git directory, tests will begin to fail (I got "12 failed, 38 passed, 20 skipped in 3.19s"). It seems like the suite is dependent on the .git directory of the source. ==============================================...

Open Graph Description: By simply removing the .git directory, tests will begin to fail (I got "12 failed, 38 passed, 20 skipped in 3.19s"). It seems like the suite is dependent on the .git directory of the source. ======...

X Description: By simply removing the .git directory, tests will begin to fail (I got "12 failed, 38 passed, 20 skipped in 3.19s"). It seems like the suite is dependent on the .git directory of the sour...

Opengraph URL: https://github.com/codecov/codecov-python/issues/304

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Make test suite independent of .git directory","articleBody":"By simply removing the .git directory, tests will begin to fail (I got \"12 failed, 38 passed, 20 skipped in 3.19s\"). It seems like the suite is dependent on the .git directory of the source.\r\n\r\n```\r\n=============================================== short test summary info ================================================\r\nFAILED tests/test.py::TestUploader::test_bowerrc - AttributeError: 'FileNotFoundError' object has no attribute 'retur...\r\nFAILED tests/test.py::TestUploader::test_bowerrc_none - AttributeError: 'FileNotFoundError' object has no attribute '...\r\nFAILED tests/test.py::TestUploader::test_disable_search - AttributeError: 'FileNotFoundError' object has no attribute...\r\nFAILED tests/test.py::TestUploader::test_discovers - AttributeError: 'FileNotFoundError' object has no attribute 'ret...\r\nFAILED tests/test.py::TestUploader::test_include_env - AttributeError: 'FileNotFoundError' object has no attribute 'r...\r\nFAILED tests/test.py::TestUploader::test_none_found - AttributeError: 'FileNotFoundError' object has no attribute 're...\r\nFAILED tests/test.py::TestUploader::test_not_jacoco - AttributeError: 'FileNotFoundError' object has no attribute 're...\r\nFAILED tests/test.py::TestUploader::test_prefix - AttributeError: 'FileNotFoundError' object has no attribute 'return...\r\nFAILED tests/test.py::TestUploader::test_read_token_file - AttributeError: 'FileNotFoundError' object has no attribut...\r\nFAILED tests/test.py::TestUploader::test_returns_none - SystemExit: 0\r\nFAILED tests/test.py::TestUploader::test_run_coverage_fails - AttributeError: 'FileNotFoundError' object has no attri...\r\nFAILED tests/test.py::TestUploader::test_send - AttributeError: 'FileNotFoundError' object has no attribute 'returncode'\r\n================================= 12 failed, 38 passed, 20 skipped, 1 warning in 8.09s =================================\r\n```\r\n\r\nUse Case: This happens if one downloads a release tarball (which doesn't include .git) and try to run the test suite. The situation happens when we try to include `codecov` in the FreeBSD Ports Collection - according to the FreeBSD Policy [1]: Python ports must include a do-test target if the package includes tests. We are currently removing failed tests manually, but would love to have this issue fixed upstream, so that the test suite will no longer depend on the .git directory.\r\n\r\nThis is essentially the same problem reported in #100.\r\n\r\n[1] https://wiki.freebsd.org/Python/PortsPolicy#Tests\r\n","author":{"url":"https://github.com/yzgyyang","@type":"Person","name":"yzgyyang"},"datePublished":"2020-11-24T11:13:29.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/304/codecov-python/issues/304"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:21e8e215-1adf-09ea-7c21-635b9494eb4c
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idE976:320E86:32CA27:4A2239:6A4E0435
html-safe-nonceb21809eb0bddd7d02bb13818562997cccebfe8fbd97921b3ca878810be72c50c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOTc2OjMyMEU4NjozMkNBMjc6NEEyMjM5OjZBNEUwNDM1IiwidmlzaXRvcl9pZCI6IjYwODc5Mjc3NzA4OTI4NjI1MTciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac01926c0d67b896d11b88dabe21dbc5f8957847cd44ab7c2e3a8252ec0c230047
hovercard-subject-tagissue:749612647
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/codecov/codecov-python/304/issue_layout
twitter:imagehttps://opengraph.githubassets.com/c01f743bfbfc8ce750da4baa0ca8aa31f5d9537877ce6bdabc35e12b10a13aa1/codecov/codecov-python/issues/304
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/c01f743bfbfc8ce750da4baa0ca8aa31f5d9537877ce6bdabc35e12b10a13aa1/codecov/codecov-python/issues/304
og:image:altBy simply removing the .git directory, tests will begin to fail (I got "12 failed, 38 passed, 20 skipped in 3.19s"). It seems like the suite is dependent on the .git directory of the source. ======...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameyzgyyang
hostnamegithub.com
expected-hostnamegithub.com
Nonedf0492960db29b4938cb72070351d6b1d0c6c0767b27ceb8394bbf4fcc0223c6
turbo-cache-controlno-preview
go-importgithub.com/codecov/codecov-python git https://github.com/codecov/codecov-python.git
octolytics-dimension-user_id8226205
octolytics-dimension-user_logincodecov
octolytics-dimension-repository_id22685735
octolytics-dimension-repository_nwocodecov/codecov-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id22685735
octolytics-dimension-repository_network_root_nwocodecov/codecov-python
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
release52bde38e24398476f8eb1e0760c81346c6a00812
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/codecov/codecov-python/issues/304#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcodecov%2Fcodecov-python%2Fissues%2F304
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
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
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
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%2Fcodecov%2Fcodecov-python%2Fissues%2F304
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=codecov%2Fcodecov-python
Reloadhttps://github.com/codecov/codecov-python/issues/304
Reloadhttps://github.com/codecov/codecov-python/issues/304
Reloadhttps://github.com/codecov/codecov-python/issues/304
Please reload this pagehttps://github.com/codecov/codecov-python/issues/304
codecov https://github.com/codecov
codecov-pythonhttps://github.com/codecov/codecov-python
Notifications https://github.com/login?return_to=%2Fcodecov%2Fcodecov-python
Fork 136 https://github.com/login?return_to=%2Fcodecov%2Fcodecov-python
Star 184 https://github.com/login?return_to=%2Fcodecov%2Fcodecov-python
Code https://github.com/codecov/codecov-python
Issues 22 https://github.com/codecov/codecov-python/issues
Pull requests 1 https://github.com/codecov/codecov-python/pulls
Actions https://github.com/codecov/codecov-python/actions
Projects https://github.com/codecov/codecov-python/projects
Security and quality 0 https://github.com/codecov/codecov-python/security
Insights https://github.com/codecov/codecov-python/pulse
Code https://github.com/codecov/codecov-python
Issues https://github.com/codecov/codecov-python/issues
Pull requests https://github.com/codecov/codecov-python/pulls
Actions https://github.com/codecov/codecov-python/actions
Projects https://github.com/codecov/codecov-python/projects
Security and quality https://github.com/codecov/codecov-python/security
Insights https://github.com/codecov/codecov-python/pulse
Make test suite independent of .git directoryhttps://github.com/codecov/codecov-python/issues/304#top
https://github.com/yzgyyang
yzgyyanghttps://github.com/yzgyyang
on Nov 24, 2020https://github.com/codecov/codecov-python/issues/304#issue-749612647
#100https://github.com/codecov/codecov-python/issues/100
https://wiki.freebsd.org/Python/PortsPolicy#Testshttps://wiki.freebsd.org/Python/PortsPolicy#Tests
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.