-
Notifications
You must be signed in to change notification settings - Fork 5
36 lines (30 loc) · 925 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: CI
on:
pull_request:
merge_group:
# Creates a coverage of the main branch
push:
branches:
- main
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
check:
uses: geo-engine/geoengine-python/.github/workflows/test-python.yml@reusable-workflow
strategy:
fail-fast: false
matrix:
# use all supported versions from https://devguide.python.org/versions/
python-version: ["3.9", "3.10", "3.11", "3.12"]
with:
python-version: ${{ matrix.python-version }}
use-uv: false
coverage: false
# Checks the library using minimum version resolution
# `uv` has this feature built-in, c.f. https://github.com/astral-sh/uv
check-min-version:
uses: geo-engine/geoengine-python/.github/workflows/test-python.yml@reusable-workflow
with:
python-version: 3.9
use-uv: true
coverage: true