Skip to content

feat: added some env vars for task executions#3214

Merged
jdx merged 1 commit into
mainfrom
task-sh
Nov 26, 2024
Merged

feat: added some env vars for task executions#3214
jdx merged 1 commit into
mainfrom
task-sh

Conversation

@jdx

@jdx jdx commented Nov 26, 2024

Copy link
Copy Markdown
Owner

No description provided.

@jdx jdx enabled auto-merge (squash) November 26, 2024 15:34
@github-actions

github-actions Bot commented Nov 26, 2024

Copy link
Copy Markdown

Hyperfine Performance

mise x -- echo

Command Mean [ms] Min [ms] Max [ms] Relative
mise-main x -- echo 18.8 ± 0.5 17.7 20.3 1.02 ± 0.04
mise-2024.11.29 x -- echo 18.5 ± 0.5 17.5 21.4 1.00
mise x -- echo 18.9 ± 0.5 17.8 21.9 1.02 ± 0.04

mise env

Command Mean [ms] Min [ms] Max [ms] Relative
mise-main env 15.4 ± 0.6 14.3 21.4 1.02 ± 0.06
mise-2024.11.29 env 15.1 ± 0.7 14.1 26.8 1.00
mise env 15.4 ± 0.5 14.4 17.0 1.02 ± 0.06

mise hook-env

Command Mean [ms] Min [ms] Max [ms] Relative
mise-main hook-env 15.3 ± 0.5 14.2 16.6 1.02 ± 0.05
mise-2024.11.29 hook-env 15.0 ± 0.5 14.0 20.6 1.00
mise hook-env 15.5 ± 0.7 14.4 19.7 1.03 ± 0.06

mise ls

Command Mean [ms] Min [ms] Max [ms] Relative
mise-main ls 12.6 ± 0.2 12.2 13.9 1.03 ± 0.03
mise-2024.11.29 ls 12.3 ± 0.2 11.9 13.2 1.00
mise ls 12.6 ± 0.2 12.2 13.6 1.03 ± 0.03

@jdx jdx disabled auto-merge November 26, 2024 15:37
@jdx jdx changed the title feat: added MISE_ORIGINAL_CWD to tasks feat: added some env vars for task executions Nov 26, 2024
@codacy-production

codacy-production Bot commented Nov 26, 2024

Copy link
Copy Markdown

Coverage summary from Codacy

See diff coverage on Codacy

Coverage variation Diff coverage
-18.75% 82.35%
Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (5e8d801) 22256 17218 77.36%
Head commit (c4ce0d1) 42939 (+20683) 25168 (+7950) 58.61% (-18.75%)

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#3214) 17 14 82.35%

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

See your quality gate settings    Change summary preferences

Codacy stopped sending the deprecated coverage status on June 5th, 2024. Learn more

@jdx jdx linked an issue Nov 26, 2024 that may be closed by this pull request
@jdx jdx enabled auto-merge (squash) November 26, 2024 15:46
@jdx jdx disabled auto-merge November 26, 2024 15:53
@jdx jdx enabled auto-merge (squash) November 26, 2024 15:53
@jdx jdx merged commit f7d5fdd into main Nov 26, 2024
@jdx jdx deleted the task-sh branch November 26, 2024 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Execute a task in the directory where it's defined

1 participant