Skip to content

Commit

Permalink
add poethepoet as a runner dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
d33bs committed Jan 10, 2024
1 parent e0236cc commit 540694b
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/run-memory-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ jobs:
python-version: "3.11"
- name: Setup poetry and poethepoet
run: |
python -m pip install poetry poethepoet
python -m pip install poetry
- name: Install poetry runner env
run: |
poetry install --with runner -v --no-interaction
- name: Run memory tests through Dagger pipeline
run: |
poetry poe run_all_tests
poetry run poe run_all_tests
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,7 @@ Testing workflows are designed to run "locally" within a developer's environment

The following are suggested steps to get started with development for this project.

1. Install Python from [pyenv](https://github.com/pyenv/pyenv?tab=readme-ov-file#installation)
1. (Suggested) Install Python from [pyenv](https://github.com/pyenv/pyenv?tab=readme-ov-file#installation) (or another way).
1. [Install Poetry](https://python-poetry.org/docs/#installation)
1. [Install Poe the Poet](https://poethepoet.natn.io/installation.html)
1. [Install Docker Desktop](https://www.docker.com/products/docker-desktop/)
1. Run Poe the Poet workflow(s): e.g. `poetry poe run_all_tests`
1. Run Poe the Poet workflow(s): e.g. `poetry run poe run_all_tests`
42 changes: 41 additions & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ python = ">=3.10,<4.0"
dagger-io = "^0.9.5"
anyio = "^4.2.0"
fire = "^0.5.0"
poethepoet = "^0.24.4"

# define poethepoet convenience access
# to test runner workflow definition
Expand Down

0 comments on commit 540694b

Please sign in to comment.