Skip to content

Commit b5a9090

Browse files
authored
Merge pull request #82 from elyezer/fix-perf-tests
Update performance test pipeline to use poetry
2 parents 1d11d76 + 99f4044 commit b5a9090

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)