feat: Add option to create isolated virtual environment in Python setup action
This commit is contained in:
@@ -20,6 +20,7 @@ jobs:
|
||||
with:
|
||||
use-system-python: 'true'
|
||||
run-db-setup: 'false'
|
||||
create-venv: 'true'
|
||||
|
||||
- name: Run lint checks
|
||||
run: ruff check .
|
||||
@@ -65,6 +66,7 @@ jobs:
|
||||
uses: ./.gitea/actions/setup-python-env
|
||||
with:
|
||||
use-system-python: 'true'
|
||||
create-venv: 'true'
|
||||
|
||||
- name: Run unit tests
|
||||
run: pytest tests/unit
|
||||
|
||||
Reference in New Issue
Block a user