-
Notifications
You must be signed in to change notification settings - Fork 25
48 lines (45 loc) · 1.38 KB
/
python-ci-minimal.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
name: TileDB-SOMA Python CI (Minimal)
# This workflow calls ./python-ci-single.yml on a limited subset of the
# {os} x {python version} matrix. It runs for all branches, in contrast to
# ./python-ci-full.yml, which exhausts the matrix but only for main & releases,
# since that's CI-resource-intensive.
#
# To test the full matrix on a working branch, invoke ./python-ci-full.yml from
# https://github.com/single-cell-data/TileDB-SOMA/actions/workflows/python-ci-full.yml
on:
pull_request:
branches:
- main
- 'release-*'
paths:
- '**'
- '!**.md'
- '!apis/r/**'
- '!docs/**'
- '!.github/**'
- '.github/workflows/python-ci-minimal.yml'
- '.github/workflows/python-ci-single.yml'
workflow_dispatch:
jobs:
build:
strategy:
fail-fast: true
matrix:
os: [ubuntu-24.04, macos-latest]
python-version: ['3.9', '3.12']
include:
- os: ubuntu-24.04
cc: gcc-13
cxx: g++-13
- os: macos-latest
cc: clang
cxx: clang++
uses: ./.github/workflows/python-ci-single.yml
with:
os: ${{ matrix.os }}
python_version: ${{ matrix.python-version }}
cc: ${{ matrix.cc }}
cxx: ${{ matrix.cxx }}
report_codecov: ${{ matrix.python-version == '3.12' }}
run_lint: ${{ matrix.python-version == '3.12' }}
secrets: inherit