Coder Social home page Coder Social logo

Comments (5)

ramsey avatar ramsey commented on May 26, 2024

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.

jrfnl avatar jrfnl commented on May 26, 2024

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.

jrfnl avatar jrfnl commented on May 26, 2024

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.

ramsey avatar ramsey commented on May 26, 2024

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.

jrfnl avatar jrfnl commented on May 26, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.