Comments (5)
I'd love to test ALL THE THINGS, but GitHub Actions only allows for 256 jobs per workflow run, so we'll need to get creative with how we test these different permutations. Adding just one more item to the matrix will probably put us over this limit.
from composer-install.
Maybe we could get creative with, for instance, combining testing --lowest
, --highest
and --locked
in the same run (by using something like git reset HEAD
and deleting the vendor
directory between the steps ? That would reduce the number of build significantly.
from composer-install.
Just thinking, testing various Composer versions could probably also be done in the same run using --self-update --1
/--2
.
Want me to do some experimenting ?
from composer-install.
Sounds good to me. Feel free. This is an issue lots of us run into for libraries that have lots of permutations like this. It'd be nice to have an approach we can replicate.
from composer-install.
Been doing some thinking about this and came up with some more brainfarts ;-)
The integration tests as they are, basically always do a "clean install", i.e. presume there is no vendor
directory in place yet (either because it was committed to a repo or because the action is used multiple times within a single workflow).
That would remain the same if the repo would be brought back to its original state between tests as per the suggestion in comment #219 (comment)
Would it make sense to also test "unclean" installs ? Run select integration tests without the "cleaning up" between tests ?
Note: the integration tests don't actually test the caching part of this plugin as such anyway and that wouldn't change.
Also, once the integration test runs have been changed as per this issue, the matrix for the expect
test could be expanded to cover multiple PHP versions.
What do you think @ramsey ?
from composer-install.
Related Issues (20)
- Use of `defaults.run.working-directory` HOT 7
- Question: Why are there two composer json files for a repo for php; which includes no PHP? HOT 1
- Action erroring out on with incorrect invalid `composer.json` report HOT 3
- Compatibility with Composer 1 broken due to validate command HOT 1
- Action debug information showing in workflow run summary
- Heads-up: upcoming (helpful) change in setupPHP HOT 1
- Do not depend on awk and perl
- Support `composer-bin` commands like `composer bin [folder] install` HOT 4
- failed to open stream HOT 1
- Cannot find composer.json HOT 4
- Yaml is invalid? HOT 5
- Error: The process '/usr/local/bin/composer' failed with exit code 1 HOT 4
- Add `retries:` input HOT 2
- Add `--no-audit` to default options used ? HOT 1
- Better cache busting when using `dependency-versions: 'highest'` HOT 3
- `set-output` function is deprecated HOT 1
- "Could not authenticate against github.com" HOT 2
- Ability to swap out actions/cache for the faster alternative buildjet/cache HOT 1
- Failure to restore cache causes the GitHub Action step to run indefinitely HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from composer-install.