mirror of https://github.com/cirruslabs/tart.git
Fix integration tests (#1149)
* Use ghcr.io/cirruslabs/macos-tahoe-base:latest * CI: "Test on Sequoia" can be named just "Test" * integration-test: can use latest requests now that the bug is fixed
This commit is contained in:
parent
90d9500133
commit
902b1a6c9c
|
|
@ -1,7 +1,7 @@
|
||||||
use_compute_credits: true
|
use_compute_credits: true
|
||||||
|
|
||||||
task:
|
task:
|
||||||
name: Test on Sequoia
|
name: Test
|
||||||
alias: test
|
alias: test
|
||||||
persistent_worker:
|
persistent_worker:
|
||||||
labels:
|
labels:
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
pytest
|
pytest
|
||||||
testcontainers
|
testcontainers
|
||||||
requests == 2.31.0 # work around https://github.com/psf/requests/issues/6707
|
requests
|
||||||
bitmath
|
bitmath
|
||||||
pytest-dependency
|
pytest-dependency
|
||||||
paramiko
|
paramiko
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ def test_run(tart, run_opts):
|
||||||
vm_name = f"integration-test-run-{uuid.uuid4()}"
|
vm_name = f"integration-test-run-{uuid.uuid4()}"
|
||||||
|
|
||||||
# Instantiate a VM with admin:admin SSH access
|
# Instantiate a VM with admin:admin SSH access
|
||||||
tart.run(["clone", "ghcr.io/cirruslabs/macos-sonoma-base:latest", vm_name])
|
tart.run(["clone", "ghcr.io/cirruslabs/macos-tahoe-base:latest", vm_name])
|
||||||
|
|
||||||
# Run the VM asynchronously
|
# Run the VM asynchronously
|
||||||
tart_run_process = tart.run_async(["run", vm_name] + run_opts)
|
tart_run_process = tart.run_async(["run", vm_name] + run_opts)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue