"vscode:/vscode.git/clone" did not exist on "551750031e0797b68af81a89dffd08aad89abcdd"
Commit 6f345a52 authored by Muyang Li's avatar Muyang Li
Browse files

chore: fix the github variables

parent eeabaa29
...@@ -31,9 +31,8 @@ jobs: ...@@ -31,9 +31,8 @@ jobs:
(github.event_name == 'pull_request' && !github.event.pull_request.draft) || (github.event_name == 'pull_request' && !github.event.pull_request.draft) ||
(github.event_name == 'workflow_dispatch') (github.event_name == 'workflow_dispatch')
env: env:
COMFYUI_MODELS_ROOT: ${{ vars.COMFYUI_MODELS_ROOT }} COMFYUI_MODELS_ROOT: "~/workspace/comfyui_models"
NUNCHAKU_TEST_CACHE_ROOT: ${{ vars.NUNCHAKU_TEST_CACHE_ROOT }} NUNCHAKU_TEST_CACHE_ROOT: "~/workspace/nunchaku_test_root"
HF_TOKEN: ${{ vars.HF_TOKEN }}
steps: steps:
- name: Determine ref - name: Determine ref
id: set-ref id: set-ref
...@@ -86,6 +85,7 @@ jobs: ...@@ -86,6 +85,7 @@ jobs:
pwd pwd
cd .. cd ..
pip install comfy-cli pip install comfy-cli
rm -rf ComfyUI
yes | comfy --here install --nvidia --skip-torch-or-directml --version 0.3.44 yes | comfy --here install --nvidia --skip-torch-or-directml --version 0.3.44
cd ComfyUI cd ComfyUI
rm -r models rm -r models
...@@ -99,8 +99,8 @@ jobs: ...@@ -99,8 +99,8 @@ jobs:
comfy node install comfyui-inpainteasy comfy node install comfyui-inpainteasy
cp -r custom_nodes/ComfyUI-nunchaku/tests nunchaku_tests cp -r custom_nodes/ComfyUI-nunchaku/tests nunchaku_tests
pip install -r nunchaku_tests/requirements.txt pip install -r nunchaku_tests/requirements.txt
python custom_nodes/ComfyUI-nunchaku/scripts/download_models.py HF_TOKEN=${{ secrets.HF_TOKEN }} python custom_nodes/ComfyUI-nunchaku/scripts/download_models.py
python custom_nodes/ComfyUI-nunchaku/scripts/download_test_data.py HF_TOKEN=${{ secrets.HF_TOKEN }} python custom_nodes/ComfyUI-nunchaku/scripts/download_test_data.py
- name: Run ComfyUI tests - name: Run ComfyUI tests
run: | run: |
source $(conda info --base)/etc/profile.d/conda.sh source $(conda info --base)/etc/profile.d/conda.sh
...@@ -114,10 +114,11 @@ jobs: ...@@ -114,10 +114,11 @@ jobs:
source $(conda info --base)/etc/profile.d/conda.sh source $(conda info --base)/etc/profile.d/conda.sh
conda activate test_env || { echo "Failed to activate conda env"; exit 1; } conda activate test_env || { echo "Failed to activate conda env"; exit 1; }
which python which python
pytest -v tests/flux/test_flux_examples.py echo $NUNCHAKU_TEST_CACHE_ROOT
python .github/workflows/run_all_tests.py HF_TOKEN=${{ secrets.HF_TOKEN }} pytest -v tests/flux/test_flux_examples.py
HF_TOKEN=${{ secrets.HF_TOKEN }} python .github/workflows/run_all_tests.py
- name: clean up - name: clean up
if: always() if: always()
run: | run: |
cd .. cd ..
rm -rf ComfyUI ComfyUI-nunchaku rm -rf ComfyUI
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment