git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] ci/install-depends: attempt to fix "brew cask" stuff

From
Jeff King <peff@peff.net>
Date
Jan 27, 2021, 22:21 UTC
Message-ID
<YBHnV80bBQOxZH1O@coredump.intra.peff.net>
In-Reply-To
<830a88ce-1728-a6a5-f60d-59328f85932c@gmail.com>
On Sat, Jan 23, 2021 at 09:41:29PM -0500, Philippe Blain wrote:
Show 14 quoted lines
> > So we could split the macos test out. It would probably involve
> > duplicating a little bit of the content, but we do something similar for
> > the dockerized builds. It might be that there is an option we can set to
> > say "keep building the others even if one of these fails", which would
> > give us the best of both.
> 
> Yes, a quick Google search pointed me to a blog post [1]
> that mentions using 'fail-fast: false' in the test matrix so that
> one failing job does not automatically cancel the rest of the jobs
> in the matrix (the default is 'true') [2].
> 
> If we apply that to all four matrices in the workflow file,
> (windows-test, vs-test, regular and dockerized), it would be
> something like this:
Thanks, that's exactly what I think we'd want.

The downside, of course, is that a failure that will happen on every platform will mean wasted CPU to trigger the same failure over and over. But:

  - I rarely see that myself, because I wouldn't bother pushing up to CI
    until "make test" passed locally. So usually I'm finding portability
    issues via CI. Other people might be different, though.
  - we already have the Windows tests in a separate matrix anyway, so a
    failure on Linux would run the whole Windows suite (which is an
    order of magnitude more expensive)
  - even within the Windows matrix, I think running the rest of the
    tests after a failure is still valuable. If there's a second
    failure, you save a round-trip to CI (so it doesn't reduce CPU, but
    it may help latency to reach a passing state).
-Peff
Previous: Taylor BlauNext: Junio C Hamano
Message 13 of 14 in “ci/install-depends: attempt to fix "brew cask" stuff”
  1. ci/install-depends: attempt to fix "brew cask" stuffJunio C Hamano, Jan 15, 2021
  2. Junio C HamanoJan 15, 2021
  3. Eric SunshineJan 15, 2021
  4. Derrick StoleeJan 15, 2021
  5. Junio C HamanoJan 15, 2021
  6. Jeff KingJan 15, 2021
  7. Eric SunshineJan 15, 2021
  8. Jeff KingJan 15, 2021
  9. SZEDER GáborFeb 1, 2021
  10. Philippe BlainJan 24, 2021
  11. Junio C HamanoJan 24, 2021
  12. Taylor BlauJan 25, 2021
  13. Jeff KingJan 27, 2021
  14. Junio C HamanoJan 28, 2021

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.