-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
ci(): upload failed visuals artifact + perf + cleanup #8402
Open
ShaMan123
wants to merge
118
commits into
master
Choose a base branch
from
ci-visuals-action
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This reverts commit 3d3922c.
commit 6175e80 Author: Andrea Bogazzi <andreabogazzi79@gmail.com> Date: Sun Sep 4 01:18:18 2022 +0200 Update node_test_setup.js commit 8ea7d9d Author: Andrea Bogazzi <andreabogazzi79@gmail.com> Date: Sun Sep 4 01:12:06 2022 +0200 no quotes commit e91ab52 Author: Andrea Bogazzi <andreabogazzi79@gmail.com> Date: Sun Sep 4 01:11:11 2022 +0200 Update tests.mustache commit 397ab04 Author: Andrea Bogazzi <andreabogazzi79@gmail.com> Date: Sun Sep 4 00:58:14 2022 +0200 restrict to 16.x commit 4f5315a Author: Andrea Bogazzi <andreabogazzi79@gmail.com> Date: Sun Sep 4 00:55:53 2022 +0200 restrict to 16.x commit 88fa03c Author: Andrea Bogazzi <andreabogazzi79@gmail.com> Date: Sun Sep 4 00:41:03 2022 +0200 triple equals are a js thing commit 119d41b Author: Andrea Bogazzi <andreabogazzi79@gmail.com> Date: Sun Sep 4 00:38:17 2022 +0200 if remove name, dash uses commit da0936c Author: Andrea Bogazzi <andreabogazzi79@gmail.com> Date: Sun Sep 4 00:36:25 2022 +0200 no extra job commit 890d775 Merge: 58d14fd b4af967 Author: Andrea Bogazzi <andreabogazzi79@gmail.com> Date: Sun Sep 4 00:20:58 2022 +0200 modified test commit 58d14fd Merge: 7afce2a 195eeff Author: Andrea Bogazzi <andreabogazzi79@gmail.com> Date: Tue Aug 30 07:59:20 2022 +0200 merge master commit 7afce2a Author: Andrea Bogazzi <andreabogazzi79@gmail.com> Date: Tue Aug 30 01:37:04 2022 +0200 removed console logs commit 2b95e53 Author: Andrea Bogazzi <andreabogazzi79@gmail.com> Date: Tue Aug 30 01:32:11 2022 +0200 ok fixed commit ba9ee5f Author: Andrea Bogazzi <andreabogazzi79@gmail.com> Date: Tue Aug 30 00:51:21 2022 +0200 try commit 76930a5 Author: Andrea Bogazzi <andreabogazzi79@gmail.com> Date: Tue Aug 30 00:50:56 2022 +0200 try commit 2c25777 Author: Andrea Bogazzi <andreabogazzi79@gmail.com> Date: Tue Aug 30 00:32:51 2022 +0200 mixed changes commit bdf9b5e Author: Andrea Bogazzi <andreabogazzi79@gmail.com> Date: Tue Aug 30 00:21:18 2022 +0200 test commit 76330fa Author: Andrea Bogazzi <andreabogazzi79@gmail.com> Date: Tue Aug 30 00:13:13 2022 +0200 uses for all actions commit 82cf8ab Author: Andrea Bogazzi <andreabogazzi79@gmail.com> Date: Tue Aug 30 00:08:24 2022 +0200 test this commit 1bcf5b9 Author: Andrea Bogazzi <andreabogazzi79@gmail.com> Date: Mon Aug 29 23:58:33 2022 +0200 wrong workflow commit 0c89cc0 Author: Andrea Bogazzi <andreabogazzi79@gmail.com> Date: Mon Aug 29 23:51:32 2022 +0200 failing tests on purpose commit 67417a9 Author: Andrea Bogazzi <andreabogazzi79@gmail.com> Date: Sun Aug 28 23:05:42 2022 +0200 stupid vscode commit f1eaba8 Author: Andrea Bogazzi <andreabogazzi79@gmail.com> Date: Sun Aug 28 23:00:23 2022 +0200 dump-files-node
This reverts commit 72e5d4e.
ShaMan123
commented
Nov 5, 2022
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.
Decluttered:
- removed
test/lib/pixelmatch.js
in favor of node_module - refactored
test/lib/visualCallbackQunit.js
=>test/lib/appendTestResults.js
(dumpResults is now in charge of creating visuals for the browser and this nodule simply loads them) test/lib/visualTestLoop.js
has been split into dedicated modules for browser (test/lib/visualUtil.browser.js
), node (test/lib/visualUtil.node.js
) and common (test/lib/visualUtil.js
) +QUnit.assert.visualEqual
that is defined by eachtest/node_test_setup.js
=>test/testSetup.node.js
,test/qunitSetup.node.js
,test/fabricSetup.node.js
Motivation:
Make tests accessible, readable and refactorable for future when we decide to move to other frameworks
I may have exaggerated in this PR |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Motivation
Continues #8206 with #8311
closes #8206
closes #8311
Decluttering Motivation:
Make tests accessible, readable and refactorable and for the future when we decide to move to other frameworks (I have split up logic for that)
Description
GabrielBB/xvfb-action
for native xvfb 42c41f7Changes
Apart from uploading test results and creating a dedicated index file for visual test results, I have optimized perf:
-np
flag) and consolidated suite matrices, reducing a lot of setup time. This option is enabled locally as well and is blazing fast! I want your input on DX in iOS.Once we move to a stronger test framework and use parallel testing in the test runner itself time will drop exponentially.
Decluttered:
test/lib/pixelmatch.js
in favor of node_moduletest/lib/visualCallbackQunit.js
=>test/lib/appendTestResults.js
(dumpResults is now in charge of creating visuals for the browser and this nodule simply loads them)test/lib/visualTestLoop.js
has been split into dedicated modules for browser (test/lib/visualUtil.browser.js
), node (test/lib/visualUtil.node.js
) and common (test/lib/visualUtil.js
) +QUnit.assert.visualEqual
that is defined by eachtest/node_test_setup.js
=>test/testSetup.node.js
,test/qunitSetup.node.js
,test/fabricSetup.node.js
Gist
In Action
https://github.com/fabricjs/fabric.js/actions/runs/3384008742
This is the visual test results index file after unzipping artifact