mirror of
https://github.com/clockworklabs/SpacetimeDB.git
synced 2026-05-06 07:26:43 -04:00
Add smoketests/requirements.txt (#3701)
# Description of Changes We have added one too many python dependencies. I'm putting them in a shared file, which will also ease installation for devs running them locally. # API and ABI breaking changes None. CI only. # Expected complexity level and risk 1 # Testing Existing CI still passes --------- Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com>
This commit is contained in:
@@ -109,7 +109,7 @@ jobs:
|
||||
with: { python-version: '3.12' }
|
||||
if: runner.os == 'Windows'
|
||||
- name: Install python deps
|
||||
run: python -m pip install psycopg2-binary xmltodict
|
||||
run: python -m pip install -r smoketests/requirements.txt
|
||||
- name: Run smoketests
|
||||
# Note: clear_database and replication only work in private
|
||||
run: python -m smoketests ${{ matrix.smoketest_args }} -x clear_database replication teams
|
||||
|
||||
@@ -226,3 +226,6 @@ new.json
|
||||
|
||||
# Symlinked output from `nix build`
|
||||
result
|
||||
|
||||
# Python venv directories
|
||||
venv/
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
To use the smoketests, you first need to install the dependencies:
|
||||
|
||||
```
|
||||
python -m venv smoketests/venv
|
||||
smoketests/venv/bin/pip install -r smoketests/requirements.txt
|
||||
```
|
||||
|
||||
Then, run the smoketests like so:
|
||||
```
|
||||
smoketests/venv/bin/python -m smoketests <args>
|
||||
```
|
||||
@@ -0,0 +1,3 @@
|
||||
psycopg2-binary
|
||||
toml
|
||||
xmltodict
|
||||
Reference in New Issue
Block a user