Replies: 1 comment 1 reply
-
Hey @yjaaidi! Thanks for the idea, I’ve let the product team know about it. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The problem
There are some incremental build/test workflows where no snapshots are taken.
In these cases,
percy exec
orpercy exec:start
&percy exec:stop
are used in conjunction withPERCY_PARTIAL_BUILD=1
but as there is no snapshot taken, the build fails.In a more precise example, we are using Nx which has an
nx affected
command that only runs affected tests.Some commits or PRs might change files that don't affect tests.
In this case, running the following command would fail as no snapshot is uploaded:
Solutions
PERCY_PARTIAL_BUILD
PERCY_ALLOW_EMPTY_BUILD
env var that sends anallow_empty_build: true
flag to the API when creating the build and mark the build as successful on finalize even if no snapshot was upload.Workarounds
Beta Was this translation helpful? Give feedback.
All reactions