mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-16 15:47:58 +00:00
35 lines
896 B
YAML
35 lines
896 B
YAML
name: Windows CI (experimental)
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
|
|
jobs:
|
|
windows-smoke:
|
|
runs-on: windows-latest
|
|
continue-on-error: true #this is a smoke test (experimental); it won't block merges
|
|
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v4
|
|
with:
|
|
submodules: true
|
|
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v5
|
|
with:
|
|
python-version: "3.11"
|
|
cache: pip
|
|
cache-dependency-path: |
|
|
packaging/nominatim-db/pyproject.toml
|
|
packaging/nominatim-api/pyproject.toml
|
|
|
|
- name: Install latest flake8
|
|
run: python -m pip install -U pip flake8
|
|
|
|
- name: Python linting
|
|
run: python -m flake8 src test/python test/bdd
|
|
|
|
- name: Compile Python sources (smoke)
|
|
run: python -m compileall src/nominatim_db src/nominatim_api nominatim-cli.py
|