From 39016cd75b64f6736d642e15b16e6b7371983204 Mon Sep 17 00:00:00 2001 From: Marek Dostal Date: Mon, 6 Nov 2023 12:57:35 +0100 Subject: [PATCH] Improve pytest in CI and update README --- .github/workflows/test.yml | 2 +- README.md | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3c1ef14..e64ea3e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,7 +14,7 @@ jobs: python -m pip install --upgrade pip pip install -r requirements.txt - name: Start containers - run: docker compose up -d + run: docker compose up -d rabbitmq db - name: Test with pytest run: | pip install pytest diff --git a/README.md b/README.md index 03e1e6d..f55d87d 100644 --- a/README.md +++ b/README.md @@ -37,5 +37,6 @@ optimal settings of broker and database for real-world load, etc. 1. Install docker and docker-compose 2. Then run `docker compose up` -3. For testing on your machine, install and run `pytest` (step 2 is required) +3. For testing on your machine, install and run `pytest` + - Step 2 could be `docker compose up -d rabbitmq db` 4. Finally `docker compose down`