Run render tests in CI (#357)
* Add render test workflow * Sudo * Add debug output * Remove path * Use xvfb * Remove unneeded code * Upload render query test artifact * Always upload artifact * Add failing tests to ignores file * Rename workflow * Fix file extension * Change xvfb options * Ignore x display errors * Run render tests on macOS * Upload render test artifacts * Run linux render tests * Revert runner changes * Remove linux render test * Remove ignores * Add macos ignore * Add documentation * Update DEVELOPING.md Co-authored-by: Tadej Novak <tadej@tano.si>
This commit is contained in:
11
.github/workflows/node-ci.yml
vendored
11
.github/workflows/node-ci.yml
vendored
@@ -163,6 +163,17 @@ jobs:
|
||||
run: |
|
||||
cmake --build build -j $(nproc 2>/dev/null || sysctl -n hw.ncpu 2>/dev/null)
|
||||
|
||||
- name: Run render tests on macOS
|
||||
if: runner.os == 'macOS'
|
||||
run: ./build/mbgl-render-test-runner --manifestPath metrics/macos-xcode11-release-style.json
|
||||
|
||||
- name: Upload render test artifacts
|
||||
uses: actions/upload-artifact@v3
|
||||
if: always()
|
||||
with:
|
||||
name: render-query-test-results
|
||||
path: metrics/macos-xcode11-release-style.html
|
||||
|
||||
- name: Test
|
||||
if: runner.os == 'Linux'
|
||||
run: xvfb-run --auto-servernum npm test
|
||||
|
||||
Reference in New Issue
Block a user