Skip to content

Commit 271a877

Browse files
HarelMwipflichippieTV
authored
Revert commits to fix test-render (#367)
Closes #326 * Initial revert, not all reverts are helping though... * Fix lint, added test-render * Fix test-render name * Add back trailing 1 argument to `mat4.scale` * Revert changes to style layers method override * Test render revert (#375) * update WritingMode to use enum properly * add WritingMode.none * revert packages upgrade * Fix video/default test-render test * Revert-revert some `as any` * Added ignored test for now, reverted revert some `fromValues` * Fix typo * Add `debug/tile-overscaled` to baseline * Undo package reverts except `mapbox-gl-supported` * Run tests on win and mac * Ignore updates of `mapbox-gl-supported` * Undo arrow function reverts * Factor out linting related to inheritance * Upload test-render artifacts * Always attempt to upload artifact * Exclude win and mac from CI * Bump to `2.0.0-pre.5` Co-authored-by: Oliver Wipfli <[email protected]> Co-authored-by: James Hamilton <[email protected]>
1 parent 73322f0 commit 271a877

File tree

17 files changed

+25112
-873
lines changed

17 files changed

+25112
-873
lines changed

.github/dependabot.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,4 @@ updates:
1717
- dependency-name: "documentation"
1818
- dependency-name: "jsdom"
1919
- dependency-name: "tap"
20+
- dependency-name: "@mapbox/mapbox-gl-supported"

.github/workflows/test-render.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Test Render
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
8+
jobs:
9+
test_render:
10+
runs-on: ubuntu-latest
11+
timeout-minutes: 20
12+
steps:
13+
- uses: actions/checkout@v2
14+
- name: Use Node.js 14 x64
15+
uses: actions/setup-node@v2
16+
with:
17+
node-version: 14
18+
architecture: x64
19+
- run: npm ci
20+
- run: npm run build-dev
21+
- run: xvfb-run -s "-ac -screen 0 1280x1024x24" npm run test-render
22+
- uses: actions/upload-artifact@v2
23+
if: always()
24+
with:
25+
name: index.html
26+
path: test/integration/render-tests/index.html

0 commit comments

Comments
 (0)