-
Notifications
You must be signed in to change notification settings - Fork 15
refactor(nx-plugin): add env vars to executor #1161
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
# Conflicts: # e2e/nx-plugin-e2e/tests/plugin-create-nodes.e2e.test.ts # packages/nx-plugin/src/executors/cli/executor.ts # packages/nx-plugin/src/executors/cli/executor.unit.test.ts
…-vars-to-executor # Conflicts: # packages/nx-plugin/src/executors/cli/executor.ts
…ugin/add-env-vars-to-executor
|
View your CI Pipeline Execution ↗ for commit 5c02a21
☁️ Nx Cloud last updated this comment at |
@code-pushup/ci
@code-pushup/cli
@code-pushup/core
@code-pushup/create-cli
@code-pushup/models
@code-pushup/nx-plugin
@code-pushup/axe-plugin
@code-pushup/coverage-plugin
@code-pushup/eslint-plugin
@code-pushup/js-packages-plugin
@code-pushup/jsdocs-plugin
@code-pushup/lighthouse-plugin
@code-pushup/typescript-plugin
@code-pushup/utils
commit: |
Code PushUp🤨 Code PushUp report has both improvements and regressions – compared current commit 3a909e2 with previous commit f74d2dd. 💼 Project
|
| 🏷️ Category | ⭐ Previous score | ⭐ Current score | 🔄 Score change |
|---|---|---|---|
| Code coverage | 🟢 95 | 🟢 93 | |
| Documentation | 🟡 68 | 🟡 68 |
4 other categories are unchanged.
👎 2 groups regressed, 👍 1 audit improved, 👎 2 audits regressed, 2 audits changed without impacting score
🗃️ Groups
| 🔌 Plugin | 🗃️ Group | ⭐ Previous score | ⭐ Current score | 🔄 Score change |
|---|---|---|---|---|
| Code coverage | Code coverage metrics | 🟢 95 | 🟢 93 | |
| JSDoc coverage | Documentation coverage | 🟡 68 | 🟡 68 |
13 other groups are unchanged.
🛡️ Audits
| 🔌 Plugin | 🛡️ Audit | 📏 Previous value | 📏 Current value | 🔄 Value change |
|---|---|---|---|---|
| Code coverage | Branch coverage | 🟩 93.6 % | 🟨 86.4 % | |
| Code coverage | Line coverage | 🟨 67.7 % | 🟨 72.3 % | |
| JSDoc coverage | Functions coverage | 🟥 14 undocumented functions | 🟥 21 undocumented functions | |
| JSDoc coverage | Variables coverage | 🟥 11 undocumented variables | 🟥 16 undocumented variables | |
| JSDoc coverage | Types coverage | 🟥 2 undocumented types | 🟥 6 undocumented types |
437 other audits are unchanged.
💼 Project cli
🤨 Code PushUp report has both improvements and regressions.
🕵️ See full comparison in Code PushUp portal 🔍
| 🏷️ Category | ⭐ Previous score | ⭐ Current score | 🔄 Score change |
|---|---|---|---|
| Code coverage | 🟢 92 | 🟢 92 | |
| Documentation | 🟡 65 | 🟡 65 |
4 other categories are unchanged.
👍 2 groups improved, 👍 3 audits improved, 👎 1 audit regressed
🗃️ Groups
| 🔌 Plugin | 🗃️ Group | ⭐ Previous score | ⭐ Current score | 🔄 Score change |
|---|---|---|---|---|
| Code coverage | Code coverage metrics | 🟢 92 | 🟢 92 | |
| JSDoc coverage | Documentation coverage | 🟡 65 | 🟡 65 |
13 other groups are unchanged.
🛡️ Audits
| 🔌 Plugin | 🛡️ Audit | 📏 Previous value | 📏 Current value | 🔄 Value change |
|---|---|---|---|---|
| Code coverage | Function coverage | 🟩 95.9 % | 🟩 97.3 % | |
| Code coverage | Line coverage | 🟨 88 % | 🟨 88.5 % | |
| JSDoc coverage | Functions coverage | 🟥 17 undocumented functions | 🟥 16 undocumented functions | |
| Code coverage | Branch coverage | 🟨 84.5 % | 🟨 84.2 % |
439 other audits are unchanged.
💼 Project plugin-lighthouse
🤨 Code PushUp report has both improvements and regressions.
🕵️ See full comparison in Code PushUp portal 🔍
| 🏷️ Category | ⭐ Previous score | ⭐ Current score | 🔄 Score change |
|---|---|---|---|
| Documentation | 🔴 47 | 🔴 48 | |
| Code coverage | 🟢 99 | 🟢 99 |
4 other categories are unchanged.
👍 1 group improved, 👎 1 group regressed, 👍 1 audit improved, 👎 2 audits regressed
🗃️ Groups
| 🔌 Plugin | 🗃️ Group | ⭐ Previous score | ⭐ Current score | 🔄 Score change |
|---|---|---|---|---|
| JSDoc coverage | Documentation coverage | 🔴 47 | 🔴 48 | |
| Code coverage | Code coverage metrics | 🟢 99 | 🟢 99 |
13 other groups are unchanged.
🛡️ Audits
| 🔌 Plugin | 🛡️ Audit | 📏 Previous value | 📏 Current value | 🔄 Value change |
|---|---|---|---|---|
| JSDoc coverage | Variables coverage | 🟥 20 undocumented variables | 🟥 20 undocumented variables | |
| Code coverage | Line coverage | 🟩 97.2 % | 🟩 97 % | |
| Code coverage | Branch coverage | 🟩 96.1 % | 🟩 96.1 % |
440 other audits are unchanged.
💼 Project core
🤨 Code PushUp report has both improvements and regressions.
🕵️ See full comparison in Code PushUp portal 🔍
| 🏷️ Category | ⭐ Previous score | ⭐ Current score | 🔄 Score change |
|---|---|---|---|
| Code coverage | 🟡 89 | 🟡 90 | |
| Documentation | 🟡 74 | 🟡 74 |
4 other categories are unchanged.
👍 1 group improved, 👎 1 group regressed, 👍 3 audits improved, 👎 1 audit regressed
🗃️ Groups
| 🔌 Plugin | 🗃️ Group | ⭐ Previous score | ⭐ Current score | 🔄 Score change |
|---|---|---|---|---|
| Code coverage | Code coverage metrics | 🟡 89 | 🟡 90 | |
| JSDoc coverage | Documentation coverage | 🟡 74 | 🟡 74 |
13 other groups are unchanged.
🛡️ Audits
| 🔌 Plugin | 🛡️ Audit | 📏 Previous value | 📏 Current value | 🔄 Value change |
|---|---|---|---|---|
| Code coverage | Line coverage | 🟩 90.5 % | 🟩 91.2 % | |
| JSDoc coverage | Functions coverage | 🟥 11 undocumented functions | 🟥 12 undocumented functions | |
| Code coverage | Branch coverage | 🟨 81.1 % | 🟨 81.7 % | |
| Code coverage | Function coverage | 🟩 93.1 % | 🟩 93.2 % |
439 other audits are unchanged.
💼 Project utils
🤨 Code PushUp report has both improvements and regressions.
🕵️ See full comparison in Code PushUp portal 🔍
| 🏷️ Category | ⭐ Previous score | ⭐ Current score | 🔄 Score change |
|---|---|---|---|
| Code coverage | 🟢 94 | 🟢 95 | |
| Documentation | 🔴 38 | 🔴 38 |
4 other categories are unchanged.
👍 2 groups improved, 👍 3 audits improved, 👎 1 audit regressed, 1 audit changed without impacting score
🗃️ Groups
| 🔌 Plugin | 🗃️ Group | ⭐ Previous score | ⭐ Current score | 🔄 Score change |
|---|---|---|---|---|
| Code coverage | Code coverage metrics | 🟢 94 | 🟢 95 | |
| JSDoc coverage | Documentation coverage | 🔴 38 | 🔴 38 |
13 other groups are unchanged.
🛡️ Audits
| 🔌 Plugin | 🛡️ Audit | 📏 Previous value | 📏 Current value | 🔄 Value change |
|---|---|---|---|---|
| JSDoc coverage | Types coverage | 🟥 47 undocumented types | 🟥 45 undocumented types | |
| Code coverage | Function coverage | 🟩 95.3 % | 🟩 95.5 % | |
| JSDoc coverage | Functions coverage | 🟥 236 undocumented functions | 🟥 233 undocumented functions | |
| Code coverage | Line coverage | 🟩 97 % | 🟩 96.9 % | |
| Code coverage | Branch coverage | 🟩 91.9 % | 🟩 92 % |
438 other audits are unchanged.
💼 Project plugin-eslint
🤨 Code PushUp report has both improvements and regressions.
🕵️ See full comparison in Code PushUp portal 🔍
| 🏷️ Category | ⭐ Previous score | ⭐ Current score | 🔄 Score change |
|---|---|---|---|
| Documentation | 🟡 66 | 🟡 66 | |
| Code coverage | 🟢 94 | 🟢 94 |
4 other categories are unchanged.
👍 1 group improved, 👎 1 group regressed, 👍 2 audits improved, 👎 3 audits regressed, 1 audit changed without impacting score
🗃️ Groups
| 🔌 Plugin | 🗃️ Group | ⭐ Previous score | ⭐ Current score | 🔄 Score change |
|---|---|---|---|---|
| JSDoc coverage | Documentation coverage | 🟡 66 | 🟡 66 | |
| Code coverage | Code coverage metrics | 🟢 94 | 🟢 94 |
13 other groups are unchanged.
🛡️ Audits
| 🔌 Plugin | 🛡️ Audit | 📏 Previous value | 📏 Current value | 🔄 Value change |
|---|---|---|---|---|
| JSDoc coverage | Variables coverage | 🟥 13 undocumented variables | 🟥 15 undocumented variables | |
| Code coverage | Line coverage | 🟩 91.8 % | 🟩 92.5 % | |
| JSDoc coverage | Functions coverage | 🟥 46 undocumented functions | 🟥 48 undocumented functions | |
| Code coverage | Branch coverage | 🟨 85 % | 🟨 84.7 % | |
| Code coverage | Function coverage | 🟩 98.2 % | 🟩 98.2 % | |
| JSDoc coverage | Types coverage | 🟥 14 undocumented types | 🟥 15 undocumented types |
437 other audits are unchanged.
💼 Project nx-plugin
🥳 Code PushUp report has improved.
🕵️ See full comparison in Code PushUp portal 🔍
| 🏷️ Category | ⭐ Previous score | ⭐ Current score | 🔄 Score change |
|---|---|---|---|
| Code coverage | 🟡 85 | 🟡 85 |
5 other categories are unchanged.
👍 1 group improved, 👍 2 audits improved
🗃️ Groups
| 🔌 Plugin | 🗃️ Group | ⭐ Previous score | ⭐ Current score | 🔄 Score change |
|---|---|---|---|---|
| Code coverage | Code coverage metrics | 🟡 85 | 🟡 85 |
14 other groups are unchanged.
🛡️ Audits
| 🔌 Plugin | 🛡️ Audit | 📏 Previous value | 📏 Current value | 🔄 Value change |
|---|---|---|---|---|
| Code coverage | Line coverage | 🟨 79.3 % | 🟨 79.9 % | |
| Code coverage | Branch coverage | 🟨 76.4 % | 🟨 76.4 % |
445 other audits are unchanged.
7 other projects are unchanged.
Code PushUp🤨 Code PushUp report has both improvements and regressions – compared current commit 3a909e2 with previous commit f74d2dd. 🕵️ See full comparison in Code PushUp portal 🔍 🏷️ Categories(*) New category. 👍 2 groups improved, 👎 5 groups regressed, 👍 5 audits improved, 👎 9 audits regressed, 28 audits changed without impacting score🗃️ Groups
14 other groups are unchanged. 🛡️ Audits
636 other audits are unchanged. |
# Conflicts: # packages/nx-plugin/src/executors/cli/executor.ts # packages/nx-plugin/src/executors/cli/executor.unit.test.ts
This PR enables the plugin to use our local TS code instead of a installed NPM package.
I also renamed
AutorunExecutortoCliExecutordepends on #1159
Followup PR will cover testing the logic in
runCliExecutor.