Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix VarInt/VarLong encoding; move tests to test/protocol/#874

Fix VarInt/VarLong encoding; move tests to test/protocol/

Fix VarInt/VarLong encoding; move tests to test/protocol/ #874

# Derived from https://github.com/actions/starter-workflows/blob/main/ci/python-package.yml
#
name:Python Package
on:
push:
branches:["master"]
pull_request:
branches:["master"]
env:
FORCE_COLOR:"1"# Make tools pretty.
PIP_DISABLE_PIP_VERSION_CHECK:"1"
PIP_NO_PYTHON_VERSION_WARNING:"1"
jobs:
build:
runs-on:ubuntu-latest
name:"Test: python ${{ matrix.python }} / kafka ${{ matrix.kafka }}"
continue-on-error:${{ matrix.experimental || false }}
strategy:
fail-fast:false
matrix:
kafka:
-"0.8.2.2"
-"0.9.0.1"
-"0.10.2.2"
-"0.11.0.3"
-"1.1.1"
-"2.4.0"
-"2.8.2"
-"3.0.2"
-"3.5.2"
-"3.9.0"
-"4.0.0"
python:
-"3.14"
include:
#- python: "pypy3.9"
# kafka: "2.6.0"
# experimental: true
-python:"3.8"
kafka:"4.0.0"
-python:"3.9"
kafka:"4.0.0"
-python:"3.10"
kafka:"4.0.0"
-python:"3.11"
kafka:"4.0.0"
-python:"3.12"
kafka:"4.0.0"
-python:"3.13"
kafka:"4.0.0"
steps:
-uses:actions/checkout@v6
-name:Set up Python ${{ matrix.python }}
uses:actions/setup-python@v6
with:
python-version:${{ matrix.python }}
cache:pip
cache-dependency-path:|
requirements-dev.txt
-name:Install dependencies
run:|
sudo apt install -y libsnappy-dev libzstd-dev
python -m pip install --upgrade pip
pip install -r requirements-dev.txt
-name:Pylint
run:pylint --recursive=y --errors-only kafka test
-name:Setup java
uses:actions/setup-java@v5
with:
distribution:temurin
java-version:23
-name:Restore cached kafka releases
id:cache-servers-dist-restore
uses:actions/cache/restore@v5
with:
path:servers/dist
key:servers-dist-${{ matrix.kafka }}
-name:Install Kafka release
run:make servers/${{ matrix.kafka }}/kafka-bin
-name:Update kafka release cache
id:cache-servers-dist-save
uses:actions/cache/save@v5
with:
path:servers/dist
key:${{ steps.cache-servers-dist-restore.outputs.cache-primary-key }}
-name:Pytest
run:make test
env:
KAFKA_VERSION:${{ matrix.kafka }}

[8]ページ先頭

©2009-2025 Movatter.jp