-
-
Notifications
You must be signed in to change notification settings - Fork 0
56 lines (53 loc) · 1.47 KB
/
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
name: CI
on:
push:
branches:
- main
pull_request:
defaults:
run:
shell: bash
concurrency:
group: CI-${{ github.ref }}
# Queue on all branches and tags, but only cancel overlapping PR burns.
cancel-in-progress: ${{ github.ref != 'refs/heads/main' && !startsWith(github.ref, 'refs/tags/') }}
jobs:
org-check:
name: Check GitHub Organization
if: github.repository_owner == 'jsirois'
runs-on: ubuntu-24.04
steps:
- name: Noop
run: "true"
checks:
name: "${{ matrix.os }} Python ${{ matrix.python-version }}: uv run dev-cmd ci"
needs: org-check
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
- os: ubuntu-24.04
python-version: "3.8"
- os: ubuntu-24.04
python-version: "3.9"
- os: ubuntu-24.04
python-version: "3.10"
- os: ubuntu-24.04
python-version: "3.11"
- os: ubuntu-24.04
python-version: "3.12"
- os: ubuntu-24.04
python-version: "3.13"
- os: macos-15
python-version: "3.13"
- os: windows-2022
python-version: "3.13"
steps:
- name: Checkout dev-cmd
uses: actions/checkout@v4
- name: Install the latest version of uv
uses: astral-sh/setup-uv@v4
with:
python-version: ${{ matrix.python-version }}
- name: Run CI checks
run: uv run dev-cmd --color always ci -- -vvs