File tree Expand file tree Collapse file tree 4 files changed +111
-7
lines changed Expand file tree Collapse file tree 4 files changed +111
-7
lines changed Original file line number Diff line number Diff line change 99 - main
1010jobs :
1111 build :
12+ environment : integration
1213 strategy :
1314 matrix :
1415 os :
1516 - ubuntu-latest
16- python :
17- - " 3.12 "
17+ storage :
18+ - s3://tansu/
1819 runs-on : ${{matrix.os}}
1920 steps :
2021 - uses : actions/checkout@v4
21- - run : cp example.env .env
2222 - run : docker compose --progress plain up --no-color --quiet-pull --detach
23+ env :
24+ TANSU_IMAGE : ghcr.io/tansu-io/tansu:main
25+ CLUSTER_ID : kafka-python-integration
26+ AWS_ACCESS_KEY_ID : ${{ secrets.AWS_ACCESS_KEY_ID }}
27+ AWS_SECRET_ACCESS_KEY : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
28+ AWS_DEFAULT_REGION : auto
29+ AWS_ENDPOINT : http://minio:9000
30+ AWS_ALLOW_HTTP : true
31+ STORAGE_ENGINE : ${{matrix.storage}}
2332 - run : docker compose exec minio /usr/bin/mc ready local
24- - run : docker compose exec minio /usr/bin/mc alias set local http://localhost:9000 minioadmin minioadmin
33+ - run : docker compose exec minio /usr/bin/mc alias set local http://localhost:9000 ${{ secrets.AWS_ACCESS_KEY_ID }} ${{ secrets.AWS_SECRET_ACCESS_KEY }}
2534 - run : docker compose exec minio /usr/bin/mc mb local/tansu
2635 - uses : astral-sh/setup-uv@v5
27- with :
28- python-version : ${{matrix.python}}
29- - run : uv pip install kafka-python
36+ - run : uv sync --all-groups
Original file line number Diff line number Diff line change 1+ 3.13
Original file line number Diff line number Diff line change 1+ [project ]
2+ name = " example-kafka-python"
3+ version = " 0.1.0"
4+ description = " Add your description here"
5+ readme = " README.md"
6+ requires-python = " >=3.13"
7+ dependencies = [
8+ " kafka-python>=2.0.5" ,
9+ ]
10+
11+ [dependency-groups ]
12+ dev = [
13+ " pytest>=8.3.4" ,
14+ ]
You can’t perform that action at this time.
0 commit comments