mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 17:46:45 +00:00
test: Add integration tests for execution flows in native Python runner (#19198)
This commit is contained in:
13
.github/workflows/ci-python.yml
vendored
13
.github/workflows/ci-python.yml
vendored
@@ -25,20 +25,23 @@ jobs:
|
||||
with:
|
||||
enable-cache: true
|
||||
|
||||
- name: Install just
|
||||
uses: extractions/setup-just@e33e0265a09d6d736e2ee1e0eb685ef1de4669ff # v3.0.0
|
||||
|
||||
- name: Install Python
|
||||
run: uv python install 3.13
|
||||
|
||||
- name: Install project dependencies
|
||||
run: uv sync --all-extras --group dev
|
||||
run: just sync-all
|
||||
|
||||
- name: Format check
|
||||
run: uv run ruff format --check
|
||||
run: just format check
|
||||
|
||||
- name: Typecheck
|
||||
run: uv run ty check src/
|
||||
run: just typecheck
|
||||
|
||||
- name: Lint
|
||||
run: uv run ruff check
|
||||
run: just lint
|
||||
|
||||
- name: Python unit tests
|
||||
run: uv run pytest --cov=src --cov-report=xml --cov-report=term-missing
|
||||
@@ -47,7 +50,7 @@ jobs:
|
||||
uses: codecov/codecov-action@18283e04ce6e62d37312384ff67231eb8fd56d24 # v5.4.3
|
||||
with:
|
||||
token: ${{ secrets.CODECOV_TOKEN }}
|
||||
files: ./coverage.xml
|
||||
files: packages/@n8n/task-runner-python/coverage.xml
|
||||
flags: tests
|
||||
name: task-runner-python
|
||||
fail_ci_if_error: false
|
||||
|
||||
Reference in New Issue
Block a user