test: Add integration tests for execution flows in native Python runner (#19198)

This commit is contained in:
Iván Ovejero
2025-09-05 10:49:45 +02:00
committed by GitHub
parent 2001397387
commit 36958e3ffa
14 changed files with 1228 additions and 16 deletions

View File

@@ -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