-
Notifications
You must be signed in to change notification settings - Fork 53
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
PHIVE not supported by PHIVE #92
Comments
Isn't that a chicken and egg type of scenario? You'd need If you have How would being able to use |
Maybe we are doing things wrong by storing a copy of the But now we find we do need PHIVE available to GitHub Actions in order to switch versions depending on which version of PHP is being used. Thus it would make sense to be able to use the same workflow for PHIVE itself. Otherwise, we could just dump a bunch of In Linux, the C compiler compiles itself...
I mean to install or update a copy of itself. |
I'm still not sure I understand you. Let me try to explain myself by thinking out loud :) You say, paraphrased from what I understood, that Github Actions do not come with a preinstalled You also say, you have all tools in version control. That's certainly not wrong but I don't see how that would support your described use case of switching PHPUnit versions on CI? We do not support installing multiple versions of the same phar in parallel. So I guess that's where your idea of using phive on CI probably comes from. But that violates the concept of having all tools under version control? But maybe I don't have to understand this ;) Your original issue was that you claim
If that doesn't work, that would be a clear bug to be reported against https://github.com/phar-io/phive/issues |
I'll close this, as I don't believe there is nothing for us to do. |
OK, that sounds like it should work, but I get
|
What version of |
Aha, sorted. I was using 0.13.2 (installed 'globally'). With 0.13.5 this now works. Thanks :) |
FYI, MyIntervals/emogrifier#930 is why I was asking. Hopefully this reference explains where I was coming from. As you can see, I got it sorted (hopefully). Thanks again. |
We need to install a copy of PHIVE because it is not natively available to GitHub Actions (see actions/runner-images#199).
We need to be able to run PHIVE to switch to a different version of, say, PHPUnit, to be able to run tests against all versions of PHP (from 7.1 through 8.0).
It would seem logical to add PHIVE itself to the
phive.xml
file, but it seems this is not possible, so we must manually download the.phar
and dump it in some tools directory. We will later find we have an obsolete version and need to manually update it.The text was updated successfully, but these errors were encountered: