File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6161 name : cibw-sdist
6262 path : dist/*.tar.gz
6363
64+ test_wheels_centos_stream_9 :
65+ name : Test wheels (CentOS Stream 9)
66+ needs : [build_wheels]
67+ runs-on : ubuntu-latest
68+ container : quay.io/centos/centos:stream9
69+ steps :
70+ - name : Install Python
71+ run : dnf install -y python3.11 python3.11-pip
72+
73+ - uses : actions/download-artifact@v4
74+ with :
75+ pattern : cibw-wheels-ubuntu-*
76+ path : wheelhouse
77+ merge-multiple : true
78+
79+ - name : Install and test wheel
80+ run : |
81+ python3.11 -m pip install --upgrade pip
82+ python3.11 -m pip install netgraph-core --find-links wheelhouse/
83+ python3.11 -c "import netgraph_core; print('CentOS Stream 9:', netgraph_core.__version__)"
84+
6485 publish_pypi :
6586 name : Publish to PyPI
66- needs : [build_wheels, build_sdist]
87+ needs : [build_wheels, build_sdist, test_wheels_centos_stream_9 ]
6788 runs-on : ubuntu-latest
6889 environment : pypi
6990 permissions :
Original file line number Diff line number Diff line change 2727 - name : Run CI checks (lint + C++/Python tests)
2828 run : make check-ci
2929
30+ test-centos-stream-9 :
31+ name : CentOS Stream 9 (py${{ matrix.python-version }})
32+ runs-on : ubuntu-latest
33+ container : quay.io/centos/centos:stream9
34+ strategy :
35+ fail-fast : false
36+ matrix :
37+ python-version : ["3.11", "3.12"]
38+ steps :
39+ - name : Install system dependencies
40+ run : |
41+ dnf install -y \
42+ gcc gcc-c++ make cmake git \
43+ python${{ matrix.python-version }} \
44+ python${{ matrix.python-version }}-devel \
45+ python${{ matrix.python-version }}-pip \
46+ libatomic
47+
48+ - uses : actions/checkout@v4
49+
50+ - name : Install Python deps
51+ run : |
52+ python${{ matrix.python-version }} -m pip install -U pip wheel
53+ python${{ matrix.python-version }} -m pip install -e .[dev]
54+
55+ - name : Run CI checks
56+ run : PYTHON=python${{ matrix.python-version }} make check-ci
57+
3058 coverage :
3159 name : Coverage (ubuntu, py3.11)
3260 runs-on : ubuntu-22.04
You can’t perform that action at this time.
0 commit comments