ci: Disable task runner for core and nodes tests (#12757)
Some checks are pending
Test Master / install-and-build (push) Waiting to run
Test Master / Unit tests (18.x) (push) Blocked by required conditions
Test Master / Unit tests (20.x) (push) Blocked by required conditions
Test Master / Unit tests (22.4) (push) Blocked by required conditions
Test Master / Lint (push) Blocked by required conditions
Test Master / Notify Slack on failure (push) Blocked by required conditions

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™ 2025-01-21 17:53:59 +01:00 committed by GitHub
parent 565c7b8b9c
commit 96ab5bc7e6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 8 additions and 7 deletions

View file

@ -1,3 +1,7 @@
// Disable task runners until we have fixed the "run test workflows" test
// to mock the Code Node execution
process.env.N8N_RUNNERS_ENABLED = 'false';
// NOTE: Diagrams in this file have been created with https://asciiflow.com/#/
// If you update the tests, please update the diagrams as well.
// If you add a test, please create a new diagram.
@ -9,8 +13,6 @@
// XX denotes that the node is disabled
// PD denotes that the node has pinned data
import { TaskRunnersConfig } from '@n8n/config';
import { Container } from '@n8n/di';
import { mock } from 'jest-mock-extended';
import { pick } from 'lodash';
import type {
@ -50,11 +52,6 @@ import { WorkflowExecute } from '../workflow-execute';
const nodeTypes = Helpers.NodeTypes();
describe('WorkflowExecute', () => {
const taskRunnersConfig = Container.get(TaskRunnersConfig);
// Disable task runners until we have fixed the "run test workflows" test
// to mock the Code Node execution
taskRunnersConfig.enabled = false;
describe('v0 execution order', () => {
const tests: WorkflowTestData[] = legacyWorkflowExecuteTests;

View file

@ -1 +1,5 @@
import 'reflect-metadata';
// Disable task runners until we have fixed the "run test workflows" test
// to mock the Code Node execution
process.env.N8N_RUNNERS_ENABLED = 'false';