Currently, the end-to-end test reuses the dev database in ~/tinypilot.db. But that means that a DB corruption in one test run will affect subsequent runs, which we don't want.
To fix this, we can adjust the run-e2e-test script to use a temporary directory as TinyPilot's home directory for storing the TinyPilot SQLite database.
We also adjust the CI code so that it more closely matches the dev workflow.
Currently, the end-to-end test reuses the dev database in
~/tinypilot.db
. But that means that a DB corruption in one test run will affect subsequent runs, which we don't want.To fix this, we can adjust the
run-e2e-test
script to use a temporary directory as TinyPilot's home directory for storing the TinyPilot SQLite database.We also adjust the CI code so that it more closely matches the dev workflow.