fix(General): fix broken pipeline
Unit test coverage / pytest (push) Failing after 1m15s
CI for pypl publish / publish-lib (push) Successful in 1m17s

This commit is contained in:
2025-03-27 21:09:02 +08:00
parent 4f5da0460b
commit 3bba29d279
3 changed files with 6 additions and 5 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ jobs:
# need to setup node and git
- run: |
apt-get update
apt-get install -y nodejs git curl
apt-get install -y nodejs git curl libsqlite3-0
# check out code and set up python
- uses: actions/checkout@v4
- uses: https://github.com/actions/setup-python@v5
+3 -3
View File
@@ -19,7 +19,7 @@ jobs:
# need to setup node and git
- run: |
apt-get update
apt-get install -y nodejs git
apt-get install -y nodejs git libsqlite3-0
# check out code
- uses: actions/checkout@v4
- uses: https://github.com/actions/setup-python@v5
@@ -31,9 +31,9 @@ jobs:
- run: pytest
# replace timestamp building dev version
- name: Add timestamp to version
if: github.head_ref != '' && github.head_ref != 'master'
if: github.head_ref != 'master'
run: |
sed -i -E "s/(version = \"[^\"]+)(-dev)DT\"/\1\2$(date -u +'%Y%m%d%H%M%S')\"/" pyproject.toml
sed -i -E "s/(version = \"[^\"]+)(-dev)\"/\1\2$(date -u +'%Y%m%d%H%M%S')\"/" pyproject.toml
cat pyproject.toml
- name: Build wheel
run: |
+2 -1
View File
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
[project]
name = "amq_adapter"
version = "0.2.2"
version = "0.2.2-dev"
description = "Adapter for RabbitMQ to integrate a CleverThis python-code Service with CleverMicro platform"
readme = "README.md"
authors = [
@@ -19,6 +19,7 @@ classifiers = [
]
requires-python = ">=3.11"
dependencies = [
"aio-pika~=9.5.5",
"aiohttp~=3.11.11",
"pika~=1.3.2",
"fastapi==0.115.6",