Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
fengzch-das
nunchaku
Commits
1e172237
Commit
1e172237
authored
Jul 27, 2025
by
Muyang Li
Browse files
chore: use vars instead of secrets for test ci
parent
c7bc61bf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
.github/workflows/pr-test.yaml
.github/workflows/pr-test.yaml
+6
-6
No files found.
.github/workflows/pr-test.yaml
View file @
1e172237
...
...
@@ -85,8 +85,8 @@ jobs:
yes | comfy --here install --nvidia --skip-torch-or-directml --version 0.3.44
cd ComfyUI
rm -r models
mkdir -p ${{
secret
s.COMFYUI_MODELS_ROOT }}
ln -s ${{
secret
s.COMFYUI_MODELS_ROOT }} models
mkdir -p ${{
var
s.COMFYUI_MODELS_ROOT }}
ln -s ${{
var
s.COMFYUI_MODELS_ROOT }} models
cd custom_nodes
git clone -b dev https://github.com/mit-han-lab/ComfyUI-nunchaku.git
cd ..
...
...
@@ -95,8 +95,8 @@ jobs:
comfy node install comfyui-inpainteasy
cp -r custom_nodes/ComfyUI-nunchaku/tests nunchaku_tests
pip install -r nunchaku_tests/requirements.txt
HF_TOKEN=${{
secret
s.HF_TOKEN }} python custom_nodes/ComfyUI-nunchaku/scripts/download_models.py
HF_TOKEN=${{
secret
s.HF_TOKEN }} python custom_nodes/ComfyUI-nunchaku/scripts/download_test_data.py
HF_TOKEN=${{
var
s.HF_TOKEN }} python custom_nodes/ComfyUI-nunchaku/scripts/download_models.py
HF_TOKEN=${{
var
s.HF_TOKEN }} python custom_nodes/ComfyUI-nunchaku/scripts/download_test_data.py
-
name
:
Run ComfyUI tests
run
:
|
source $(conda info --base)/etc/profile.d/conda.sh
...
...
@@ -110,8 +110,8 @@ jobs:
source $(conda info --base)/etc/profile.d/conda.sh
conda activate test_env || { echo "Failed to activate conda env"; exit 1; }
which python
NUNCHAKU_TEST_CACHE_ROOT=${{
secret
s.NUNCHAKU_TEST_CACHE_ROOT }} HF_TOKEN=${{
secret
s.HF_TOKEN }} pytest -v tests/flux/test_flux_examples.py
NUNCHAKU_TEST_CACHE_ROOT=${{
secret
s.NUNCHAKU_TEST_CACHE_ROOT }} HF_TOKEN=${{
secret
s.HF_TOKEN }} python .github/workflows/run_all_tests.py
NUNCHAKU_TEST_CACHE_ROOT=${{
var
s.NUNCHAKU_TEST_CACHE_ROOT }} HF_TOKEN=${{
var
s.HF_TOKEN }} pytest -v tests/flux/test_flux_examples.py
NUNCHAKU_TEST_CACHE_ROOT=${{
var
s.NUNCHAKU_TEST_CACHE_ROOT }} HF_TOKEN=${{
var
s.HF_TOKEN }} python .github/workflows/run_all_tests.py
-
name
:
clean up
if
:
always()
run
:
|
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment