Skip to content

Commit 8bd2b44

Browse files
committed
[bfops/share-python-deps]: Add smoketests/requirements.txt
1 parent 3395b1e commit 8bd2b44

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,10 +109,12 @@ jobs:
109109
with: { python-version: '3.12' }
110110
if: runner.os == 'Windows'
111111
- name: Install python deps
112-
run: python -m pip install psycopg2-binary xmltodict
112+
run: |
113+
python -m venv venv
114+
venv/pip install -r smoketests/requirements.txt
113115
- name: Run smoketests
114116
# Note: clear_database and replication only work in private
115-
run: python -m smoketests ${{ matrix.smoketest_args }} -x clear_database replication teams
117+
run: venv/bin/python -m smoketests ${{ matrix.smoketest_args }} -x clear_database replication teams
116118
- name: Stop containers (Linux)
117119
if: always() && runner.os == 'Linux'
118120
run: docker compose -f .github/docker-compose.yml down

smoketests/requirements.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
psycopg2-binary
2+
toml
3+
xmltodict

0 commit comments

Comments
 (0)