python3
Some checks failed
Linter / ruff (push) Successful in 16s
Tests / tests on CPU (push) Failing after 12m9s

This commit is contained in:
soaska 2024-05-03 21:50:00 +03:00
parent 7e42cc1dce
commit b1b855456b

View File

@ -37,7 +37,7 @@ jobs:
PIP_DISABLE_PIP_VERSION_CHECK: "1"
PIP_PROGRESS_BAR: "off"
- name: Setup environment
run: python launch.py --skip-torch-cuda-test --exit
run: python3 launch.py --skip-torch-cuda-test --exit
env:
PIP_DISABLE_PIP_VERSION_CHECK: "1"
PIP_PROGRESS_BAR: "off"
@ -71,7 +71,7 @@ jobs:
# done
- name: Start test server
run: >
python -m coverage run
python3 -m coverage run
--data-file=.coverage.server
launch.py
--skip-prepare-environment
@ -87,7 +87,7 @@ jobs:
- name: Run tests
run: |
wait-for-it --service 127.0.0.1:7860 -t 20
python -m pytest -vv --junitxml=test/results.xml --cov . --cov-report=xml --verify-base-url test
python3 -m pytest -vv --junitxml=test/results.xml --cov . --cov-report=xml --verify-base-url test
# TODO(huchenlei): Enable ControlNet tests. Currently it is too slow to run these tests on CPU with
# real SD model. We need to find a way to load empty SD model.
# - name: Run ControlNet tests