Skip to content

Files

Latest commit

 

History

History
32 lines (22 loc) · 708 Bytes

cloud-tests.tpl.md

File metadata and controls

32 lines (22 loc) · 708 Bytes

Prep codebase

If there is an existing cloud project, we want to delete it to prevent collisions. If there isn't one this command would fail, so we use ucm:error. But we have to add in a dummy failure to satisfy ucm:error in the case that the project does exist and thus the delete.project is successful.

scratch/main> delete.project cloud
scratch/main> forceBlockToFail

Pull cloud client

cloud/main> pull.without-history @unison/cloud/${CLOUD_CLIENT_VERSION}

Run non-IO tests

cloud/main> test

Run local IO tests

cloud/main> io.test tests.cloud.runAllLocally

Run remote IO tests

cloud/main> io.test tests.cloud.runAll