Skip to content

Commit 99f4044

Browse files
committed
Update performance test pipeline to use poetry
Start using poetry to manage performance test pipeline's requirements and run test within the poetry created environment.
1 parent 1d11d76 commit 99f4044

4 files changed

Lines changed: 77 additions & 12 deletions

File tree

.github/workflows/tester.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,18 @@ jobs:
1313
uses: actions/setup-python@v1
1414
with:
1515
python-version: 3.6
16-
- name: Install dependencies
16+
- name: Upgrade pip
1717
run: |
1818
python -m pip install --upgrade pip
19-
pip install python-dateutil pytest
20-
pip install .
21-
pip install -r ./test/perf/requirements.txt
19+
- name: Install poetry
20+
run: |
21+
pip install poetry
22+
- name: Install receptor and its dev/test dependencies
23+
run: |
24+
poetry install
2225
- name: Perform integration tests
2326
run: |
24-
pytest ./test/perf/ -s
27+
poetry run pytest ./test/perf/ -s
2528
unit:
2629
name: Unit Tests
2730
runs-on: ubuntu-latest

poetry.lock

Lines changed: 64 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ pytest-asyncio = "^0.10.0"
1717
flake8 = "^3.7.9"
1818
pyyaml = "^5.2"
1919
wait-for = "^1.1.1"
20+
attrs = "^19.3.0"
21+
click = "^7.0"
22+
pyparsing = "^2.4.5"
23+
requests = "^2.22.0"
24+
wait_for = "^1.1.1"
2025

2126
[build-system]
2227
requires = ["poetry>=0.12"]

test/perf/requirements.txt

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)