Skip to content

fix(docker): fixes docker images , replaced slim image with the dist… #16

fix(docker): fixes docker images , replaced slim image with the dist…

fix(docker): fixes docker images , replaced slim image with the dist… #16

Workflow file for this run

name: CI
on:
push:
branches: [master, develop]
pull_request:
branches: [master, develop]
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
lint-typecheck-test:
name: Lint, typecheck, test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Install uv
uses: astral-sh/setup-uv@v7
with:
enable-cache: true
cache-dependency-glob: "uv.lock"
- name: Install dependencies
run: uv sync --locked
- name: Ruff lint
run: uv run ruff check osmsg tests
- name: Ruff format check
run: uv run ruff format --check osmsg tests
- name: ty (Astral type checker)
run: uv run ty check osmsg
- name: Pytest (offline)
run: uv run pytest -m "not network"
build:
name: Build wheel + sdist
runs-on: ubuntu-latest
needs: lint-typecheck-test
steps:
- uses: actions/checkout@v6
- uses: astral-sh/setup-uv@v7
with:
enable-cache: true
cache-dependency-glob: "uv.lock"
- run: uv build --no-sources
smoke-last-hour:
name: Smoke — process last hour
runs-on: ubuntu-latest
needs: lint-typecheck-test
timeout-minutes: 10
steps:
- uses: actions/checkout@v6
- uses: astral-sh/setup-uv@v7
with:
enable-cache: true
cache-dependency-glob: "uv.lock"
- run: uv sync --locked --no-group dev
- name: Run osmsg --last hour --summary
run: |
uv run osmsg --last hour --tags building --tags highway --summary -f parquet -f markdown --delete-temp
- name: Show artifacts
run: ls -lh stats.parquet stats.duckdb stats_summary.parquet stats_summary.md