Skip to content

Conversation

@WyriHaximus
Copy link
Owner

This is a really crude but effective away of doing it. Especially if
your command also sets per line annotations on PR's you still get the
feedback you'd want from your commands without breaking the build.

@mfn
Copy link

mfn commented Jul 1, 2022

Because you asked in #9 (comment)

@mfn Would this work? Just opened #10 to propose that

😅

Took me a couple minutes to figure out how this works, was confusing by "why does this match a file matrix.php" until I realized that's a var reference 🤦‍♂️

With the || true there won't be any indicator if it worked or nut, unless you look into the job manually. I wonder if always() can be combined into this so this maybe it only needs one entry?

      - name: Execute tests
        if: needs.supported-versions-matrix.outputs.upcoming == matrix.php && always()
        run: composer test

But no idea if always() works that way

@WyriHaximus
Copy link
Owner Author

@WyriHaximus WyriHaximus modified the milestones: v1.1.0, v1.8.0 Aug 22, 2022
@WyriHaximus WyriHaximus modified the milestones: v1.8.0, v1.9.0 Dec 14, 2022
@WyriHaximus WyriHaximus modified the milestones: v1.9.0, v1.10.0 Jan 6, 2023
@WyriHaximus WyriHaximus removed this from the v1.10.0 milestone Mar 19, 2023
@WyriHaximus WyriHaximus force-pushed the document-not-failing-for-upcoming-versions branch from 5d5d8d7 to e5a27d7 Compare August 24, 2023 07:18
to fail without failing the build

This is a really crude but effective away of doing it. Especially if
your command also sets per line annotations on PR's you still get the
feedback you'd want from your commands without breaking the build.
@WyriHaximus WyriHaximus force-pushed the document-not-failing-for-upcoming-versions branch from e5a27d7 to 56d8f52 Compare August 24, 2023 17:12
@WyriHaximus WyriHaximus added this to the v1.11 milestone Aug 24, 2023
@WyriHaximus WyriHaximus removed this from the v1.11 milestone Sep 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants