Skip to content

Commit 15852d1

Browse files
author
Alan Christie
committed
ci: Attempt to fix CI
1 parent 7ba0796 commit 15852d1

File tree

2 files changed

+17
-4
lines changed

2 files changed

+17
-4
lines changed

.github/workflows/build.yaml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ name: build
2020
on:
2121
push:
2222

23+
env:
24+
POETRY_VERSION: '1.8.5'
25+
PYTHON_VERSION: '3.12'
26+
2327
jobs:
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:

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,16 @@
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+
210
A FastAPI (Python) implementation of the Squonk2 (AS) Event Streaming service.
311

412
This 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
614
Namespace of the AS to service internal requests from the API to create, delete
715
and connect to the internal messaging bus to stream events to a client.
816

0 commit comments

Comments
 (0)