Skip to content

Add function to rebuild topology relations #45

Add function to rebuild topology relations

Add function to rebuild topology relations #45

Workflow file for this run

name: Continuous integration tests
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
ci:
name: Continuous integration tests
runs-on: ubuntu-latest
services:
# Label used to access the service container
postgis:
# Docker Hub image
image: postgis/postgis:16-3.4-alpine
# Provide the password for postgres
env:
POSTGRES_PASSWORD: postgres
# Set health checks to wait until postgres has started
options: >-
--health-cmd pg_isready --health-interval 10s --health-timeout 5s
--health-retries 5
ports:
# Maps tcp port 5432 on service container to the host
- 5432:5432
steps:
- uses: actions/checkout@v6
- name: Install Python
uses: actions/setup-python@v6
with:
python-version: "3.12"
- name: Install uv
uses: astral-sh/setup-uv@v6
with:
enable-cache: true
- name: Install the project dependencies
run: uv sync
# Create a PostGIS database (in a Docker container) for tests
- name: Run the automated tests
run: make test
env:
TOPO_TESTING_DATABASE_URL: postgresql://postgres:postgres@localhost:5432/mapboard_topology_test