Skip to content

Commit 05ff536

Browse files
committed
fix runner
1 parent 432d8a7 commit 05ff536

File tree

3 files changed

+11
-8
lines changed

3 files changed

+11
-8
lines changed

.evergreen/run-tests.sh

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,6 @@ else
2525
exit 1
2626
fi
2727

28-
# Start the test runner.
29-
set -x
30-
env | grep UV
31-
uv sync ${UV_ARGS}
32-
git status
33-
# uv run ${UV_ARGS} python .evergreen/scripts/run_tests.py "$@"
34-
28+
# Run the test runner.
29+
uv run ${UV_ARGS} --reinstall python .evergreen/scripts/run_tests.py "$@"
3530
popd

.evergreen/scripts/run_tests.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@
3232
def list_packages():
3333
packages = set()
3434
for distribution in importlib_metadata.distributions():
35-
packages.add(distribution.name)
35+
if distribution.name:
36+
packages.add(distribution.name)
3637
print("Package Version URL")
3738
print("------------------- ----------- ----------------------------------------------------")
3839
for name in sorted(packages):

CONTRIBUTING.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -382,6 +382,13 @@ If you are running one of the `no-responder` tests, omit the `run-server` step.
382382
- Finally, you can use `just setup-tests --debug-log`.
383383
- For evergreen patch builds, you can use `evergreen patch --param DEBUG_LOG=1` to enable debug logs for failed tests in the patch.
384384

385+
## Testing minimum dependencies
386+
387+
To run any of the test suites with minimum supported dependencies, pass `--test-min-deps` to
388+
`just setup-tests`.
389+
390+
Note: the lock file will be modified by the test, make sure to revert `uv.lock` before committing.
391+
385392
## Adding a new test suite
386393

387394
- If adding new tests files that should only be run for that test suite, add a pytest marker to the file and add

0 commit comments

Comments
 (0)