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
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:
@@ -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: |
|
||||
|
||||
Reference in New Issue
Block a user