MapLibre 4 custom modifications #4
test-all.yml
on: pull_request
Code Hygiene
2m 22s
Unit tests and Coverage
1m 57s
Matrix: Build tests
Matrix: Integration tests
Matrix: Render tests
Annotations
13 errors and 8 warnings
test min build › bundle size stays the same:
test/build/min.test.ts#L41
expect(received).toBeLessThan(expected)
Expected: < 878801
Received: 880156
at Object.<anonymous> (test/build/min.test.ts:41:29)
|
Build tests (windows-latest)
Process completed with exit code 1.
|
Build tests (ubuntu-latest)
The job was canceled because "windows-latest" failed.
|
#easeTo › does not pan eastward across the antimeridian on a single-globe mercator map:
src/ui/camera.test.ts#L929
expect(received).toBeCloseTo(expected, precision)
Expected: 170
Received: 210
Expected precision: 0
Expected difference: < 0.5
Received difference: 40
at CameraMock.<anonymous> (src/ui/camera.test.ts:929:44)
at CameraMock.fire (src/util/evented.ts:128:26)
at CameraMock._afterEase (src/ui/camera.ts:1144:14)
at src/ui/camera.ts:976:18
at CameraMock._ease (src/ui/camera.ts:1385:13)
at CameraMock.easeTo (src/ui/camera.ts:967:14)
at src/ui/camera.test.ts:932:16
at Object.<anonymous> (src/ui/camera.test.ts:924:96)
|
#easeTo › does not pan westward across the antimeridian on a single-globe mercator map:
src/ui/camera.test.ts#L972
expect(received).toBeCloseTo(expected, precision)
Expected: -170
Received: -210
Expected precision: 0
Expected difference: < 0.5
Received difference: 40
at CameraMock.<anonymous> (src/ui/camera.test.ts:972:44)
at CameraMock.fire (src/util/evented.ts:128:26)
at CameraMock._afterEase (src/ui/camera.ts:1144:14)
at src/ui/camera.ts:976:18
at CameraMock._ease (src/ui/camera.ts:1385:13)
at CameraMock.easeTo (src/ui/camera.ts:967:14)
at src/ui/camera.test.ts:975:16
at Object.<anonymous> (src/ui/camera.test.ts:967:96)
|
transform › lngRange can constrain zoom and center across meridian:
src/geo/projection/mercator_transform.test.ts#L168
expect(received).toBe(expected) // Object.is equality
Expected: 5.1357092861044045
Received: 5.1338758325185365
at Object.<anonymous> (src/geo/projection/mercator_transform.test.ts:168:36)
|
AttributionControl › shows attributions for sources that are used for terrain:
src/render/texture.ts#L138
ReferenceError: WebGL2RenderingContext is not defined
at Texture.textureFormatFromInternalFormat (src/render/texture.ts:138:9)
at Texture.update (src/render/texture.ts:74:29)
at new Texture (src/render/texture.ts:41:14)
at Terrain.getTerrainData (src/render/terrain.ts:216:39)
at Terrain.getMinMaxElevation (src/render/terrain.ts:446:27)
at Terrain.getMinTileElevationForLngLatZoom (src/render/terrain.ts:434:21)
at Map.setTerrain (src/ui/map.ts:2029:71)
at Object.<anonymous> (src/ui/control/attribution_control.test.ts:329:13)
|
Terrain › pointCoordinate should not return null:
src/render/texture.ts#L138
ReferenceError: WebGL2RenderingContext is not defined
at Texture.textureFormatFromInternalFormat (src/render/texture.ts:138:9)
at Texture.update (src/render/texture.ts:74:29)
at new Texture (src/render/texture.ts:41:14)
at Terrain.getFramebuffer (src/render/terrain.ts:279:38)
at Terrain.pointCoordinate (src/render/terrain.ts:336:42)
at Object.<anonymous> (src/render/terrain.test.ts:62:36)
|
Terrain › pointCoordinate should not return null:
src/render/terrain.test.ts#L34
expect.assertions(2)
Expected two assertions to be called but received zero assertion calls.
at Object.<anonymous> (src/render/terrain.test.ts:34:16)
|
Terrain › pointCoordinate should respect painter.pixelRatio:
src/render/texture.ts#L138
ReferenceError: WebGL2RenderingContext is not defined
at Texture.textureFormatFromInternalFormat (src/render/texture.ts:138:9)
at Texture.update (src/render/texture.ts:74:29)
at new Texture (src/render/texture.ts:41:14)
at Terrain.getFramebuffer (src/render/terrain.ts:279:38)
at Terrain.pointCoordinate (src/render/terrain.ts:336:42)
at Object.<anonymous> (src/render/terrain.test.ts:132:38)
|
Terrain › Calculate tile minimum and maximum elevation:
src/render/texture.ts#L138
ReferenceError: WebGL2RenderingContext is not defined
at Texture.textureFormatFromInternalFormat (src/render/texture.ts:138:9)
at Texture.update (src/render/texture.ts:74:29)
at new Texture (src/render/texture.ts:41:14)
at Terrain.getTerrainData (src/render/terrain.ts:216:39)
at Terrain.getMinMaxElevation (src/render/terrain.ts:446:27)
at Object.<anonymous> (src/render/terrain.test.ts:171:54)
|
Terrain › Return null elevation values when no tile:
src/render/texture.ts#L138
ReferenceError: WebGL2RenderingContext is not defined
at Texture.textureFormatFromInternalFormat (src/render/texture.ts:138:9)
at Texture.update (src/render/texture.ts:74:29)
at new Texture (src/render/texture.ts:41:14)
at Terrain.getTerrainData (src/render/terrain.ts:216:39)
at Terrain.getMinMaxElevation (src/render/terrain.ts:446:27)
at Object.<anonymous> (src/render/terrain.test.ts:196:38)
|
Terrain › Return null elevation values when no DEM:
src/render/texture.ts#L138
ReferenceError: WebGL2RenderingContext is not defined
at Texture.textureFormatFromInternalFormat (src/render/texture.ts:138:9)
at Texture.update (src/render/texture.ts:74:29)
at new Texture (src/render/texture.ts:41:14)
at Terrain.getTerrainData (src/render/terrain.ts:216:39)
at Terrain.getMinMaxElevation (src/render/terrain.ts:446:27)
at Object.<anonymous> (src/render/terrain.test.ts:224:37)
|
Integration tests (windows-latest)
Codecov: Failed to properly create commit: The process 'D:\a\_actions\codecov\codecov-action\v4\dist\codecov.exe' failed with exit code 1
|
Integration tests (ubuntu-latest)
Codecov: Failed to properly create commit: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
Render tests (windows-latest, 2)
Codecov: Failed to properly create commit: The process 'D:\a\_actions\codecov\codecov-action\v4\dist\codecov.exe' failed with exit code 1
|
Render tests (windows-latest, 1)
Codecov: Failed to properly create commit: The process 'D:\a\_actions\codecov\codecov-action\v4\dist\codecov.exe' failed with exit code 1
|
Render tests (windows-latest, 0)
Codecov: Failed to properly create commit: The process 'D:\a\_actions\codecov\codecov-action\v4\dist\codecov.exe' failed with exit code 1
|
Render tests (ubuntu-latest, 1)
Codecov: Failed to properly create commit: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
Render tests (ubuntu-latest, 2)
Codecov: Failed to properly create commit: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
Render tests (ubuntu-latest, 0)
Codecov: Failed to properly create commit: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
build-dist-ubuntu-latest
|
228 KB |
|
build-dist-windows-latest
|
228 KB |
|