locust-cloud 1.21.8.dev3__tar.gz → 1.21.9.dev1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {locust_cloud-1.21.8.dev3 → locust_cloud-1.21.9.dev1}/.github/workflows/daily-check.yml +3 -1
- {locust_cloud-1.21.8.dev3 → locust_cloud-1.21.9.dev1}/PKG-INFO +1 -1
- {locust_cloud-1.21.8.dev3 → locust_cloud-1.21.9.dev1}/locust_cloud/docs/locust-cloud.rst +2 -0
- {locust_cloud-1.21.8.dev3 → locust_cloud-1.21.9.dev1}/locustfile.py +11 -2
- locust_cloud-1.21.9.dev1/testdata/requirements.txt +1 -0
- {locust_cloud-1.21.8.dev3 → locust_cloud-1.21.9.dev1}/.github/workflows/tests.yml +0 -0
- {locust_cloud-1.21.8.dev3 → locust_cloud-1.21.9.dev1}/.gitignore +0 -0
- {locust_cloud-1.21.8.dev3 → locust_cloud-1.21.9.dev1}/.pre-commit-config.yaml +0 -0
- {locust_cloud-1.21.8.dev3 → locust_cloud-1.21.9.dev1}/.vscode/extensions.json +0 -0
- {locust_cloud-1.21.8.dev3 → locust_cloud-1.21.9.dev1}/.vscode/launch.json +0 -0
- {locust_cloud-1.21.8.dev3 → locust_cloud-1.21.9.dev1}/.vscode/settings.json +0 -0
- {locust_cloud-1.21.8.dev3 → locust_cloud-1.21.9.dev1}/LICENSE +0 -0
- {locust_cloud-1.21.8.dev3 → locust_cloud-1.21.9.dev1}/README.md +0 -0
- {locust_cloud-1.21.8.dev3 → locust_cloud-1.21.9.dev1}/locust_cloud/__init__.py +0 -0
- {locust_cloud-1.21.8.dev3 → locust_cloud-1.21.9.dev1}/locust_cloud/actions.py +0 -0
- {locust_cloud-1.21.8.dev3 → locust_cloud-1.21.9.dev1}/locust_cloud/apisession.py +0 -0
- {locust_cloud-1.21.8.dev3 → locust_cloud-1.21.9.dev1}/locust_cloud/args.py +0 -0
- {locust_cloud-1.21.8.dev3 → locust_cloud-1.21.9.dev1}/locust_cloud/cloud.py +0 -0
- {locust_cloud-1.21.8.dev3 → locust_cloud-1.21.9.dev1}/locust_cloud/common.py +0 -0
- {locust_cloud-1.21.8.dev3 → locust_cloud-1.21.9.dev1}/locust_cloud/docs/.gitignore +0 -0
- {locust_cloud-1.21.8.dev3 → locust_cloud-1.21.9.dev1}/locust_cloud/docs/1-first-run.rst +0 -0
- {locust_cloud-1.21.8.dev3 → locust_cloud-1.21.9.dev1}/locust_cloud/docs/2-examples.rst +0 -0
- {locust_cloud-1.21.8.dev3 → locust_cloud-1.21.9.dev1}/locust_cloud/docs/images/locust-cloud-screenshot.png +0 -0
- {locust_cloud-1.21.8.dev3 → locust_cloud-1.21.9.dev1}/locust_cloud/input_events.py +0 -0
- {locust_cloud-1.21.8.dev3 → locust_cloud-1.21.9.dev1}/locust_cloud/web_login.py +0 -0
- {locust_cloud-1.21.8.dev3 → locust_cloud-1.21.9.dev1}/locust_cloud/websocket.py +0 -0
- {locust_cloud-1.21.8.dev3 → locust_cloud-1.21.9.dev1}/pyproject.toml +0 -0
- {locust_cloud-1.21.8.dev3 → locust_cloud-1.21.9.dev1}/testdata/extra-files/extra.txt +0 -0
- {locust_cloud-1.21.8.dev3 → locust_cloud-1.21.9.dev1}/testdata/extra-package/example/__init__.py +0 -0
- {locust_cloud-1.21.8.dev3 → locust_cloud-1.21.9.dev1}/testdata/extra-package/setup.py +0 -0
- {locust_cloud-1.21.8.dev3 → locust_cloud-1.21.9.dev1}/tests/args_test.py +0 -0
- {locust_cloud-1.21.8.dev3 → locust_cloud-1.21.9.dev1}/tests/cloud_test.py +0 -0
- {locust_cloud-1.21.8.dev3 → locust_cloud-1.21.9.dev1}/tests/web_login_test.py +0 -0
- {locust_cloud-1.21.8.dev3 → locust_cloud-1.21.9.dev1}/tests/websocket_test.py +0 -0
- {locust_cloud-1.21.8.dev3 → locust_cloud-1.21.9.dev1}/uv.lock +0 -0
@@ -35,13 +35,15 @@ jobs:
|
|
35
35
|
# any local changes would make hatch-vcs set a "local version" (+dev0...), so we ignore any uv.lock updates:
|
36
36
|
- run: git update-index --assume-unchanged uv.lock
|
37
37
|
- run: uv run locust-cloud --help
|
38
|
-
- run: uv run locust-cloud --image-tag master --profile status-checker --mock-server --autostart --autoquit 0 --run-time 1m --loglevel DEBUG --extra-files testdata/extra-files --extra-packages testdata/extra-package |& tee output.txt
|
38
|
+
- run: uv run locust-cloud --image-tag master --profile status-checker --mock-server --autostart --autoquit 0 --run-time 1m --loglevel DEBUG --extra-files testdata/extra-files --extra-packages testdata/extra-package --requirements testdata/requirements.txt |& tee output.txt
|
39
39
|
# check ok exit
|
40
40
|
- run: grep -m 1 '(exit code 0)' output.txt
|
41
41
|
# check extra files specified were available
|
42
42
|
- run: "grep -m 1 -- '--extra-files verification: pineapple' output.txt"
|
43
43
|
# check extra package were successfully installed
|
44
44
|
- run: "grep -m 1 -- 'Hello from the example package!' output.txt"
|
45
|
+
# check --requirements were successfully installed
|
46
|
+
- run: "grep -m 1 -- 'dotenv imported successfully' output.txt"
|
45
47
|
# check for errors
|
46
48
|
- run: bash -ec "! grep Traceback output.txt"
|
47
49
|
- run: bash -ec "! grep ERROR output.txt"
|
@@ -27,10 +27,19 @@ extra = pathlib.Path("testdata/extra-files/extra.txt")
|
|
27
27
|
if extra.exists():
|
28
28
|
print("--extra-files verification:", extra.read_text())
|
29
29
|
|
30
|
+
try:
|
31
|
+
import example # type: ignore
|
30
32
|
|
31
|
-
|
33
|
+
example.hello()
|
34
|
+
except ImportError:
|
35
|
+
pass # ignore this for local runs
|
32
36
|
|
33
|
-
|
37
|
+
try:
|
38
|
+
import dotenv # type: ignore # noqa: F401
|
39
|
+
|
40
|
+
print("dotenv imported successfully, --requirements seems to be working")
|
41
|
+
except ImportError:
|
42
|
+
pass # ignore this for local runs
|
34
43
|
|
35
44
|
|
36
45
|
if __name__ == "__main__":
|
@@ -0,0 +1 @@
|
|
1
|
+
python-dotenv==1.0.1
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{locust_cloud-1.21.8.dev3 → locust_cloud-1.21.9.dev1}/testdata/extra-package/example/__init__.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|