From 05bb6886e729dea2da60dfa1a017cfca3a341c01 Mon Sep 17 00:00:00 2001 From: "chandr-andr (Kiselev Aleksandr)" Date: Sun, 23 Apr 2023 16:06:21 +0400 Subject: [PATCH] Changed action tests. There are problems with memphis on python version <=3.7 --- .github/workflows/test.yml | 4 ++-- README.md | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d401178..e95b372 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -33,7 +33,7 @@ jobs: contents: write strategy: matrix: - py_version: ["3.7", "3.8", "3.9", "3.10"] + py_version: ["3.8", "3.9", "3.10", "3.11"] os: [ubuntu-latest] runs-on: "${{ matrix.os }}" steps: @@ -53,7 +53,7 @@ jobs: - name: Run docker-compose file run: docker compose -f docker-compose.yaml -p memphis up -d - name: Run pytest check - run: poetry run pytest -vv --cov="taskiq_memphis" . + run: poetry run pytest -vv -n auto --cov="taskiq_memphis" . - name: Generate report run: poetry run coverage xml - name: Upload coverage reports to Codecov with GitHub Action diff --git a/README.md b/README.md index c7e2496..03b0f87 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ # taskiq-memphis -This library provides you with memphis broker for taskiq. +This library provides you with memphis broker for taskiq. +**You need python version >=3.8** ### Usage: ```python