File tree Expand file tree Collapse file tree 3 files changed +16
-4
lines changed Expand file tree Collapse file tree 3 files changed +16
-4
lines changed Original file line number Diff line number Diff line change @@ -109,12 +109,10 @@ jobs:
109109 with : { python-version: '3.12' }
110110 if : runner.os == 'Windows'
111111 - name : Install python deps
112- run : |
113- python -m venv venv
114- venv/bin/pip install -r smoketests/requirements.txt
112+ run : python -m pip install -r smoketests/requirements.txt
115113 - name : Run smoketests
116114 # Note: clear_database and replication only work in private
117- run : venv/bin/ python -m smoketests ${{ matrix.smoketest_args }} -x clear_database replication teams
115+ run : python -m smoketests ${{ matrix.smoketest_args }} -x clear_database replication teams
118116 - name : Stop containers (Linux)
119117 if : always() && runner.os == 'Linux'
120118 run : docker compose -f .github/docker-compose.yml down
Original file line number Diff line number Diff line change @@ -226,3 +226,6 @@ new.json
226226
227227# Symlinked output from `nix build`
228228result
229+
230+ # Python venv directories
231+ venv /
Original file line number Diff line number Diff line change 1+ To use the smoketests, you first need to install the dependencies:
2+
3+ ```
4+ python -m venv smoketests/venv
5+ smoketests/venv/bin/pip install -r smoketests/requirements.txt
6+ ```
7+
8+ Then, run the smoketests like so:
9+ ```
10+ smoketests/venv/bin/python -m smoketests <args>
11+ ```
You can’t perform that action at this time.
0 commit comments