fix(ci): skip pip install when pyproject.toml missing
CI / lint (push) Successful in -3m57s
CI / lint (pull_request) Successful in -3m58s
CI / test (push) Successful in -4m1s
CI / test (pull_request) Successful in -4m0s
CI / notify-on-failure (push) Successful in -4m3s
CI / notify-on-failure (pull_request) Successful in -4m3s

This commit is contained in:
cfdaily
2026-06-06 18:49:40 +08:00
parent 073121f7ca
commit 458af77382
+5 -1
View File
@@ -48,7 +48,11 @@ jobs:
- name: Setup Python
run: |
python3 -m venv .venv
.venv/bin/pip install --quiet -e ".[dev]"
if [ -f pyproject.toml ]; then
.venv/bin/pip install --quiet -e ".[dev]"
else
echo "No pyproject.toml, skipping dev install"
fi
- name: Run tests (exclude E2E)
run: |