File tree Expand file tree Collapse file tree 2 files changed +17
-4
lines changed
Expand file tree Collapse file tree 2 files changed +17
-4
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,10 @@ name: build
2020on :
2121 push :
2222
23+ env :
24+ POETRY_VERSION : ' 1.8.5'
25+ PYTHON_VERSION : ' 3.12'
26+
2327jobs :
2428 build :
2529 runs-on : ubuntu-latest
@@ -35,11 +39,12 @@ jobs:
3539 - name : Set up Python
3640 uses : actions/setup-python@v5
3741 with :
38- python-version : ' 3.12 '
42+ python-version : ${PYTHON_VERSION}
3943 - name : Run pre-commit (all files)
4044 run : |
41- pip install --requirement build-requirements.txt
42- pre-commit run --all-files
45+ pip install --no-cache-dir poetry==${POETRY_VERSION}
46+ poetry install --no-root --no-directory --with docs
47+ poetry run pre-commit run --all-files
4348 - name : Docker build
4449 uses : docker/build-push-action@v6
4550 with :
Original file line number Diff line number Diff line change 11# Squonk2 FastAPI WebSocket Event Stream
2+
3+ [ ![ build] ( https://github.com/InformaticsMatters/squonk2-fastapi-ws-event-stream/actions/workflows/build.yaml/badge.svg )] ( https://github.com/InformaticsMatters/squonk2-fastapi-ws-event-stream/actions/workflows/build.yaml )
4+
5+ [ ![ Conventional Commits] ( https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg )] ( https://conventionalcommits.org )
6+ [ ![ pre-commit] ( https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white )] ( https://github.com/pre-commit/pre-commit )
7+ [ ![ Code style: black] ( https://img.shields.io/badge/code%20style-black-000000.svg )] ( https://github.com/psf/black )
8+ [ ![ Packaged with Poetry] ( https://img.shields.io/badge/packaging-poetry-cyan.svg )] ( https://python-poetry.org/ )
9+
210A FastAPI (Python) implementation of the Squonk2 (AS) Event Streaming service.
311
412This repository is responsible for the container image that implements
5- the even -streaming service of the Squonk2 AS platform and is deployed to the
13+ the event -streaming service of the Squonk2 AS platform and is deployed to the
614Namespace of the AS to service internal requests from the API to create, delete
715and connect to the internal messaging bus to stream events to a client.
816
You can’t perform that action at this time.
0 commit comments