-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Run chromatic on branch ready #199
Conversation
Total Coverage: 95.18% Coverage Report
|
Total Coverage: 95.18% Coverage Report
|
Total Coverage: 95.18% Coverage Report
|
Total Coverage: 95.18% Coverage Report
|
Total Coverage: 95.18% Coverage Report
|
Total Coverage: 95.18% Coverage Report
|
Total Coverage: 95.18% Coverage Report
|
Total Coverage: 95.18% Coverage Report
|
Total Coverage: 95.18% Coverage Report
|
Total Coverage: 95.18% Coverage Report
|
Total Coverage: 95.18% Coverage Report
|
Total Coverage: 95.18% Coverage Report
|
Total Coverage: 95.18% Coverage Report
|
Total Coverage: 95.18% Coverage Report
|
Total Coverage: 95.18% Coverage Report
|
Total Coverage: 95.18% Coverage Report
|
4630e9c
to
4ed15b7
Compare
Ok this PR is officially "ready for review" (I had to turn it on and off to test stuff). The conditional trigger of Chromatic on lint seems to work well. I didn't manage to have the |
0c78984
to
73a3814
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for taking care of that
Chromatic deployment:
- is blocked when at least one test or lint job fails ✅
- is run only when the PR is review for review 🚫
Don't know why but the if: github.event.pull_request.draft == false
condition doesn't block the job
In the viz workflow, replacing the
by
it works (#214) to access |
Ha nice, I think I lacked the |
I already rebased and erased tests commits => 73a3814 |
a6c3654
to
59f1754
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me now
@wmai you have review instructions in the PR description 😉
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've tried all sorts of choreographies, the CI behaves as expected, very good job, thank you for this work. 🙏
Summary
The goal for this PR is to run chromatic only when the branch is ready is for review. The idea is that we would keep branches in draft state for longer and only turn them ready relatively late. It's always possible to discuss drafts or trigger manual runs.
For now:
Other possibilities include : run on label change, run on review request… for exemple.
Review workflow: