mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
🚨 Stabilize test workflows (#2480)
* Attempt to fix test workflows execution * Remove apt update * trying to fix timezone * Trying to fix build issues * Reduced concurrency level * Improve error message and further decrease concurrency level * Further reduce concurrency level * Removed concurrency * Removing update credentials as it's not working currently * Also removing export * Fixed versions for typeorm and sqlite * Re add concurrency * Adjustig sqlite3 and typeorm versions * Fixing only sqlite version * Fixing only typeorm version * Reverting unnecessary changes
This commit is contained in:
parent
9b405707e2
commit
fbaac6cd5e
40
.github/workflows/test-workflows.yml
vendored
40
.github/workflows/test-workflows.yml
vendored
|
@ -34,10 +34,10 @@ jobs:
|
||||||
-
|
-
|
||||||
name: Install dependencies
|
name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
apt update -y
|
sudo apt update -y
|
||||||
echo 'tzdata tzdata/Areas select Europe' | debconf-set-selections
|
echo 'tzdata tzdata/Areas select Europe' | sudo debconf-set-selections
|
||||||
echo 'tzdata tzdata/Zones/Europe select Paris' | debconf-set-selections
|
echo 'tzdata tzdata/Zones/Europe select Paris' | sudo debconf-set-selections
|
||||||
DEBIAN_FRONTEND="noninteractive" apt-get install -y graphicsmagick
|
DEBIAN_FRONTEND="noninteractive" sudo apt-get install -y graphicsmagick
|
||||||
shell: bash
|
shell: bash
|
||||||
-
|
-
|
||||||
name: npm install and build
|
name: npm install and build
|
||||||
|
@ -75,19 +75,19 @@ jobs:
|
||||||
shell: bash
|
shell: bash
|
||||||
env:
|
env:
|
||||||
N8N_ENCRYPTION_KEY: ${{secrets.ENCRYPTION_KEY}}
|
N8N_ENCRYPTION_KEY: ${{secrets.ENCRYPTION_KEY}}
|
||||||
-
|
# -
|
||||||
name: Export credentials
|
# name: Export credentials
|
||||||
if: always()
|
# if: always()
|
||||||
run: n8n/packages/cli/bin/n8n export:credentials --output=test-workflows/credentials.json --all --pretty
|
# run: n8n/packages/cli/bin/n8n export:credentials --output=test-workflows/credentials.json --all --pretty
|
||||||
shell: bash
|
# shell: bash
|
||||||
env:
|
# env:
|
||||||
N8N_ENCRYPTION_KEY: ${{secrets.ENCRYPTION_KEY}}
|
# N8N_ENCRYPTION_KEY: ${{secrets.ENCRYPTION_KEY}}
|
||||||
-
|
# -
|
||||||
name: Commit and push credential changes
|
# name: Commit and push credential changes
|
||||||
if: always()
|
# if: always()
|
||||||
run: |
|
# run: |
|
||||||
cd test-workflows
|
# cd test-workflows
|
||||||
git config --global user.name 'n8n test bot'
|
# git config --global user.name 'n8n test bot'
|
||||||
git config --global user.email 'n8n-test-bot@users.noreply.github.com'
|
# git config --global user.email 'n8n-test-bot@users.noreply.github.com'
|
||||||
git commit -am "Automated credential update"
|
# git commit -am "Automated credential update"
|
||||||
git push --force --quiet "https://janober:${{ secrets.TOKEN }}@github.com/n8n-io/test-workflows.git" main:main
|
# git push --force --quiet "https://janober:${{ secrets.TOKEN }}@github.com/n8n-io/test-workflows.git" main:main
|
||||||
|
|
|
@ -854,7 +854,8 @@ export class ExecuteBatch extends Command {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
executionResult.error = 'Workflow failed to execute.';
|
// eslint-disable-next-line @typescript-eslint/restrict-template-expressions, @typescript-eslint/no-unsafe-member-access
|
||||||
|
executionResult.error = `Workflow failed to execute: ${e.message}`;
|
||||||
executionResult.executionStatus = 'error';
|
executionResult.executionStatus = 'error';
|
||||||
}
|
}
|
||||||
clearTimeout(timeoutTimer);
|
clearTimeout(timeoutTimer);
|
||||||
|
|
|
@ -123,7 +123,7 @@
|
||||||
"sqlite3": "^5.0.1",
|
"sqlite3": "^5.0.1",
|
||||||
"sse-channel": "^3.1.1",
|
"sse-channel": "^3.1.1",
|
||||||
"tslib": "1.14.1",
|
"tslib": "1.14.1",
|
||||||
"typeorm": "^0.2.30",
|
"typeorm": "0.2.30",
|
||||||
"winston": "^3.3.3"
|
"winston": "^3.3.3"
|
||||||
},
|
},
|
||||||
"jest": {
|
"jest": {
|
||||||
|
|
Loading…
Reference in a new issue