Skip to content

Commit

Permalink
Revert commits to fix test-render (#367)
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
3 people authored Sep 25, 2021
1 parent 73322f0 commit 271a877
Show file tree
Hide file tree
Showing 17 changed files with 25,112 additions and 873 deletions.
1 change: 1 addition & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@ updates:
- dependency-name: "documentation"
- dependency-name: "jsdom"
- dependency-name: "tap"
- dependency-name: "@mapbox/mapbox-gl-supported"
26 changes: 26 additions & 0 deletions .github/workflows/test-render.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Test Render

on:
push:
branches: [main]
pull_request:

jobs:
test_render:
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@v2
- name: Use Node.js 14 x64
uses: actions/setup-node@v2
with:
node-version: 14
architecture: x64
- run: npm ci
- run: npm run build-dev
- run: xvfb-run -s "-ac -screen 0 1280x1024x24" npm run test-render
- uses: actions/upload-artifact@v2
if: always()
with:
name: index.html
path: test/integration/render-tests/index.html
Loading

0 comments on commit 271a877

Please sign in to comment.