@@ -106,13 +106,6 @@ jobs:
106106 uses : actions/setup-python@v5
107107 with :
108108 python-version : ${{ matrix.python-version }}
109- - name : Create virtual environment
110- run : |
111- python3 -m venv venv
112- - name : Install Python dependencies
113- run : |
114- ./venv/bin/python -m pip install --upgrade pip
115- ./venv/bin/python -m pip install -r requirements-dev.txt
116109 - name : Install package manager dependencies
117110 run : |
118111 sudo apt-get update
@@ -127,6 +120,10 @@ jobs:
127120 libfl-dev \
128121 libbenchmark-dev \
129122 libz-dev
123+ - name : Install Python dependencies
124+ run : |
125+ pip install -U pip
126+ pip install tox
130127 - name : Run tests
131128 env :
132129 BMQ_BROKER_URI : tcp://localhost:30114
@@ -153,39 +150,19 @@ jobs:
153150 key : ${{ needs.blazingmq-dependency.outputs.blazingmq_sha }}
154151 - name : Restore cached BlazingMQ build artifacts
155152 run : tar xzf blazingmq_artifacts.tar.gz
156- - name : Set up Python 3.9
153+ - name : Set up Python 3.13
157154 uses : actions/setup-python@v5
158155 with :
159- python-version : " 3.9"
160- - name : Create virtual environment
161- run : |
162- python3 -m venv venv
163- - name : Install Python dependencies
164- run : |
165- ./venv/bin/python -m pip install --upgrade pip
166- ./venv/bin/python -m pip install -r requirements-dev.txt
167- - name : Set up dependencies
168- run :
169- sudo apt-get install clang-format
170- - name : Install Package
171- run : |
172- ./venv/bin/python -m pip install -e .
173- env :
174- PREFIX : blazingmq_artifacts
175- PYTHON : ./venv/bin/python
176- PKG_CONFIG_PATH : /usr/lib/x86_64-linux-gnu/pkgconfig:/opt/bb/lib64/pkgconfig:./blazingmq_artifacts/lib64/pkgconfig
156+ python-version : " 3.13"
157+ - name : Install tox
158+ run : pip install tox
177159 - name : Lint sources
178- run : tox run -e lint-types
160+ run : |
161+ tox run -e lint
162+ tox run -e lint-cython
179163 env :
180164 PREFIX : blazingmq_artifacts
181165 PKG_CONFIG_PATH : /usr/lib/x86_64-linux-gnu/pkgconfig:/opt/bb/lib64/pkgconfig:./blazingmq_artifacts/lib64/pkgconfig
182- - name : Build docs
183- run : |
184- ./venv/bin/python -m towncrier build --version 99.99 --name blazingmq --keep
185- make docs
186- env :
187- PYTHON : ./venv/bin/python
188- SPHINXBUILD : ../venv/bin/sphinx-build
189166
190167 coverage :
191168 name : Coverage
0 commit comments