Skip to content

Commit

Permalink
Improve pytest in CI and update README
Browse files Browse the repository at this point in the history
  • Loading branch information
dstlmrk committed Nov 6, 2023
1 parent 18b9401 commit 39016cd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`

0 comments on commit 39016cd

Please # to comment.