- Notifications
You must be signed in to change notification settings - Fork 633
/
Copy pathtest_smoke.py
35 lines (34 loc) · 1.03 KB
/
test_smoke.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Smoke tests for SkyPilot
# Default options are set in pyproject.toml
# Example usage:
# Run all tests except for AWS and Lambda Cloud
# > pytest tests/test_smoke.py
#
# Terminate failed clusters after test finishes
# > pytest tests/test_smoke.py --terminate-on-failure
#
# Re-run last failed tests
# > pytest --lf
#
# Run one of the smoke tests
# > pytest tests/test_smoke.py::test_minimal
#
# Only run managed job tests
# > pytest tests/test_smoke.py --managed-jobs
#
# Only run sky serve tests
# > pytest tests/test_smoke.py --sky-serve
#
# Only run test for AWS + generic tests
# > pytest tests/test_smoke.py --aws
#
# Change cloud for generic tests to aws
# > pytest tests/test_smoke.py --generic-cloud aws
fromsmoke_tests.test_api_serverimport*
fromsmoke_tests.test_basicimport*
fromsmoke_tests.test_cluster_jobimport*
fromsmoke_tests.test_imagesimport*
fromsmoke_tests.test_managed_jobimport*
fromsmoke_tests.test_mount_and_storageimport*
fromsmoke_tests.test_region_and_zoneimport*
fromsmoke_tests.test_sky_serveimport*