Skip to content

descriptions for large image imports #4040

descriptions for large image imports

descriptions for large image imports #4040

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- main
jobs:
build-and-test:
defaults:
run:
working-directory: client
strategy:
matrix:
target: ['web', 'electron']
name: Client Tests
runs-on: ubuntu-latest
steps:
-
uses: actions/checkout@v2
-
uses: actions/setup-node@v6
with:
node-version: '24.15.0'
cache: npm
cache-dependency-path: client/package-lock.json
-
name: npm install
run: npm ci
-
name: Lint
if: ${{ matrix.target == 'web' }}
run: npm run lint
-
name: Lint templates
if: ${{ matrix.target == 'web' }}
run: npm run lint:templates
-
name: Run tests
if: ${{ matrix.target == 'web' }}
run: npm test -- --coverage
-
name: Build Web
if: ${{ matrix.target == 'web' }}
run: npm run build:web
env:
SENTRY_AUTH_TOKEN: ${{ github.ref == 'refs/heads/main' && secrets.SENTRY_AUTH_TOKEN || '' }}
-
name: Build electron
if: ${{ matrix.target == 'electron' }}
run: npm run build:electron -- --linux AppImage
test-server:
name: Server Tests
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.11]
steps:
- name: Update Package References
run: sudo apt-get update
- name: Install system dependencies
run: sudo apt-get install --no-install-recommends --yes
python3-cachecontrol
python3-dev
python3-gdal
libgdal-dev
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install tox
run: pip install tox
- name: Run tests
run: tox -e testunit
working-directory: server