Title: tests are supposed to be running under ..\publish folder · Issue #2720 · PowerShell/PowerShell · GitHub
Open Graph Title: tests are supposed to be running under ..\publish folder · Issue #2720 · PowerShell/PowerShell
X Title: tests are supposed to be running under ..\publish folder · Issue #2720 · PowerShell/PowerShell
Description: Appveyor test runs on Windows has PShome path is pointing to C:\projects\powershell\src\powershell-win-core\bin\Release\netcoreapp1.0\win81-x64\publish However on Travis CI test runs, the PSHome path is pointing to the root folder. /home...
Open Graph Description: Appveyor test runs on Windows has PShome path is pointing to C:\projects\powershell\src\powershell-win-core\bin\Release\netcoreapp1.0\win81-x64\publish However on Travis CI test runs, the PSHome pa...
X Description: Appveyor test runs on Windows has PShome path is pointing to C:\projects\powershell\src\powershell-win-core\bin\Release\netcoreapp1.0\win81-x64\publish However on Travis CI test runs, the PSHome pa...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/2720
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"tests are supposed to be running under ..\\publish folder","articleBody":"[Appveyor test runs](https://ci.appveyor.com/project/PowerShell/powershell/build/6.0.0-alpha.12-1420) on Windows has PShome path is pointing to \r\nC:\\projects\\powershell\\src\\powershell-win-core\\bin\\Release\\netcoreapp1.0\\win81-x64\\publish\r\n\r\nHowever on [Travis CI test runs](https://travis-ci.org/PowerShell/PowerShell/jobs/177141026), the PSHome path is pointing to the root folder.\r\n/home/travis/build/PowerShell/PowerShell/src/powershell-unix/bin/Linux/netcoreapp1.0/ubuntu.14.04-x64\r\n\r\nThis means that appveryor runs under ..\\publish folder but travisCI runs under one level up.\r\n\r\nAre tests supposed to be running under ..\\publish folder?\r\n\r\nTo workaround this problem I have to restore PackageManagement and PowerShellGet modules during build time to publish folder and one level up.\r\n\r\nI think the fix should be in start-pspester.\r\n\r\nSteps to reproduce\r\n------------------\r\nAdd $PSHome $env:PSModulePath to one of your checkin test and watch the output\r\n\r\nExpected behavior\r\n-----------------\r\nTests are supposed to be running under ..\\publish folder\r\n\r\nActual behavior\r\n---------------\r\nDescribed above.\r\n\r\nEnvironment data\r\n----------------\r\nAlpha.12\r\n","author":{"url":"https://github.com/jianyunt","@type":"Person","name":"jianyunt"},"datePublished":"2016-11-18T23:31:17Z","url":"https://github.com/PowerShell/PowerShell/issues/2720"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:002d6425-f02e-c0aa-9bce-eab9d78fa88b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C45A:2CE323:F49ADB:14F79D4:6AFD4302 |
| html-safe-nonce | 215e4435054f22f1ce2096efaab5ec46fbcd56d544015c8b96064ef67a150ec2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNDVBOjJDRTMyMzpGNDlBREI6MTRGNzlENDo2QUZENDMwMiIsInZpc2l0b3JfaWQiOiIzNzQ2NTQ5OTU0NjMwMjA2MjExIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 283ff53611e1e4bdc2eba51422cbbfee60ed96a051884e9e6a629f1c7e0b59dc |
| hovercard-subject-tag | issue:190446771 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PowerShell/PowerShell/2720/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0080a82b9d2a654ae34a0693716471fd6644c91498d1d2399df3d463acb3b006/PowerShell/PowerShell/issues/2720 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0080a82b9d2a654ae34a0693716471fd6644c91498d1d2399df3d463acb3b006/PowerShell/PowerShell/issues/2720 |
| og:image:alt | Appveyor test runs on Windows has PShome path is pointing to C:\projects\powershell\src\powershell-win-core\bin\Release\netcoreapp1.0\win81-x64\publish However on Travis CI test runs, the PSHome pa... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jianyunt |
| hostname | github.com |
| expected-hostname | github.com |
| None | bdbacc25b921224ff0befcb9e629560a1255be51aec9991d6e3f95b5e9151474 |
| turbo-cache-control | no-preview |
| go-import | github.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 49609581 |
| octolytics-dimension-repository_nwo | PowerShell/PowerShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49609581 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/PowerShell |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 556dd37bb0aceffb25724e151b5d858b3265b40b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width