Currently Circle doesn't let jobs with require parameter to be executed when the previous job fails with a failed status. But we need to find a workaround for this to be able to generate HTML reports.
This pull request
Created a waiter job that will check for all the required job's status and when it's complete it executes the dependent job.
the waiter job is called check-required-jobs-complete and the dependent job is playwright-functional-test-report
Issue that this pull request solves
Closes: # (issue number)
Checklist
Put an x in the boxes that apply
[ ] My commit is GPG signed.
[ ] If applicable, I have modified or added tests which pass locally.
[ ] I have added necessary documentation (if appropriate).
[ ] I have verified that my changes render correctly in RTL (if appropriate).
Screenshots (Optional)
Please attach the screenshots of the changes made in case of change in user interface.
Other information (Optional)
Any other information that is important to this pull request.
Because
require
parameter to be executed when the previous job fails with a failed status. But we need to find a workaround for this to be able to generate HTML reports.This pull request
waiter
job that will check for all the required job's status and when it's complete it executes the dependent job.waiter
job is calledcheck-required-jobs-complete
and the dependent job isplaywright-functional-test-report
Issue that this pull request solves
Closes: # (issue number)
Checklist
Put an
x
in the boxes that applyScreenshots (Optional)
Please attach the screenshots of the changes made in case of change in user interface.
Other information (Optional)
Any other information that is important to this pull request.