-
Notifications
You must be signed in to change notification settings - Fork 2
42 lines (38 loc) · 953 Bytes
/
test.yml
File metadata and controls
42 lines (38 loc) · 953 Bytes
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
37
38
39
40
41
42
name: Test
# If a pull-request is pushed then cancel all previously running jobs related
# to that pull-request
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: true
on:
push:
branches:
- main
pull_request:
branches:
- main
env:
PY_COLORS: 1
jobs:
unit:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
python:
- version: "3.10"
- version: "3.11"
- version: "3.12"
- version: "3.13"
- version: '3.14.0-alpha - 3.14' # SemVer's version range syntax
steps:
- uses: actions/checkout@v6
- name: Install uv
uses: astral-sh/setup-uv@v8.1.0
with:
python-version: ${{ matrix.python-version }}
- name: Run lint
run: uv run poe lint
- name: Run test
run: uv run poe test