Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Running CircleCI render tests on Windows, Mac and Firefox (#12268)
* Build + render tests in windows * Fixing issues with render tests running on Windows * Adding prepare-windows script * Adding prepare-windows to workflow * Installing chrome * Manually installing chrome * Take 2 * fix * Take 3 * Take 4 * Fix typo * Switching check for Chrome * Consolodating windows prepare script * Adding checkout and restore cache * Updating to latest version of browser-tools * Add testing for firefox on Linux * Adding missing prepare * Fix indent * Add test-render-firefox command * Modifying alloweds so firefox tests pass * Running tests on Chrome MacOS * Removing cache * Updating alloweds * Updating incorrect test * Adding overflow:scroll to test html to allow viewing difs with large images that were previously offscreen * Updating allowed to pass tests failing on windows with no perceptible difference due to antialiasing * Removing extra 0 * Regenerating expected for collision-pitched-wrapped * Fixing changed alloweds * Specifying browser in windows run * Adding windows test ignores * Fix broken test runs * Adding firefox ignore file and rearranging test ignores * Moving test triggering crash to skip * Increasing timeout on Windows and Mac * Fixing failures on windows * Bumping time out and some windows alloweds * Increasing browser_disconnect_timeout * Increasing timeouts * Increasing windows timeout to 45s * Adding timing out tests to Windows ignore * Adding MacOS ignores on CI * Fix lint * Raising alloweds to allow slightly flaky globe tests to pass on Windows * Raising allowed on 10 tests to pass in MacOS on CI * Adjusting timeout in tape() call * Test: removing setting chrome flags to disable angle on CI * Changing chrome flags to use llvmpipe driver on Linux instead of on CI * Forcing gl on MacOS CI * Moving tests from windows skip to TODO * Adding check for valid angle option and using metal on Mac CI * Updating CI MacOS to 12.5.1 * Test: Using swiftshader on MacOS * Adding windows ignores to mac * Always calling --disable-backgrounding-occluded-windows on Chrome * Simplifying testing scripts * Upping timeout to 1m for windows * Adding prepare as dependency to windows and macos tests Co-authored-by: Karim Naaji <[email protected]> * Undoing too-high alloweds * Raising allowed on one test for slight antialiasing difference * Removing debug tile visualization and allowed from globe transition tests * Updating existing render tests run names to include linux-chrome * Changing timeout on windows from 60s to 90s * Removing windows specific bug from Mac ignore * Increasing allowed to account for antialiasing with two globe transition tests * Adding -dev suffix to tests, removing prepare requirement from virtual machines * Adding documentation * Adding new test runs as dependencies for deploying benchmarks and release * Adding timout to firefox to reduce flakiness * Fix lint * Bumping allowed to allow test to pass on macos * Upping browser timeout * Bumping windows timeout * Adding links to issues * Adding yarn cache dir for debugging * Updating yarn cache location * Adding fallback cache keys for partial cache restore * Adding frozen lockfile to install, changing cache to just node modules * Testing caching yarn cache instead of node_modules * Removing exact cache check in windows run * Full directory of cache on Windows * Bumping browser timeout to 60 * Bumping windows timeout by 30s * Changing windows to use seperate cache * Bumping browser disconnect timeout to 90s * Experiment: add linux yarn cache to mac * Adding seperate mac cache * Fixing inconsistent cache directories * Renaming caches * Removing caching from windows * Attempt at parallelism on Windows * Change syntax to windows cmd and attempt adding parallelism to mac * Adding echos for debugging * Changing echo to cat * Removing cat * Fixing globe * Testing parallel runs on linux * Setting up render tests to accept a list of directories in arguments * More robust argument parsing * Attempt to change windows variable syntax to powershell * Fix lint * Try pipe in windows to solve command line too long error * Attempt at writing and reading test list from file * Fix typo * Adding debug artifact * Fix typo in debug path * Changing encoding to utf8 * Splitting on regex to work in windows * Converting Windows to posix paths * Changing to utf8NoBOM * Fix posix coversion * Revert "Changing to utf8NoBOM" This reverts commit 0cb12f9. * Attempt at removing BOM * Updating heatmap expecteds * Try writing test list file for macos parallelization too * Adding trim to remove newline at file end being read as extra test * Splitting mac run by timing * Removing console.logs * Refactor render tests (#12436) * Clean up directory parsing code * Removing test list artifacts added for debugging * Adding flaky tests to brawser-specific ignores * Adding one more test to mac ignore * Adding one more test to macos skip Co-authored-by: Karim Naaji <[email protected]> Co-authored-by: Stepan Kuzmin <[email protected]>
- Loading branch information