mirror of
https://github.com/fauxpilot/fauxpilot.git
synced 2025-07-07 05:21:52 -07:00
Add basic CI that tests the Python backend (#124)
* Basic action that runs pytest * fix indentation * debugging actions :( * pull the images in a separate step so it doesn't take so long to build * Split out the container build * Another try, fixing missing env vars
This commit is contained in:
parent
fd484a2b03
commit
1b2b8ec251
3 changed files with 31 additions and 1 deletions
|
@ -128,7 +128,7 @@ def test_python_backend(n_gpus: int):
|
|||
enter_input(proc, r".*share (your )?huggingface cache[^:]+: ?", "y")
|
||||
enter_input(proc, r".*cache directory[^:]+: ?", "") # default
|
||||
enter_input(proc, r".*use int8[^:]+: ?", "n")
|
||||
enter_input(proc, r".*run FauxPilot\? \[y/n\] ", "n")
|
||||
enter_input(proc, r".*run FauxPilot\? \[y/n\] ", "n", timeout=120)
|
||||
|
||||
# copy $root/.env to $curdir/test.env
|
||||
shutil.copy(str(root/".env"), str(curdir/"test.env"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue