python3
This commit is contained in:
parent
7e42cc1dce
commit
b1b855456b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user