Skip to content

cherry pick updates from the main maptiler/tileserver-gl and update t… #23

cherry pick updates from the main maptiler/tileserver-gl and update t…

cherry pick updates from the main maptiler/tileserver-gl and update t… #23

Workflow file for this run

name: "Test Branches"
on:
push:
branches:
- '**'
- '!main'
workflow_dispatch:
jobs:
release:
name: "Test Branch ${{ github.ref }}"
runs-on: ubuntu-latest
steps:
-
name: "Checkout source code"
uses: "actions/checkout@v2"
with:
ref: ${{ github.ref }}
-
name: Set up node
uses: actions/setup-node@v2
with:
node-version: '16'
-
name: Update packages
run: sudo apt update -qq
-
name: Install apt packages
run: sudo apt-get install -y libcairo2-dev libjpeg8-dev libpango1.0-dev libgif-dev build-essential g++ xvfb libgles2-mesa-dev libgbm-dev libxxf86vm-dev
-
name: Install node dependencies
run: npm install
-
name: Download test data
run: wget -O test_data.zip https://github.com/acalcutt/tileserver-gl/releases/download/test_data/test_data.zip
-
name: Unzip test data
run: unzip -q test_data.zip -d test_data
-
name: Run tests
run: xvfb-run --server-args="-screen 0 1024x768x24" npm test