Skip to content
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

feat: run code snippet #108

Merged
merged 1 commit into from
May 19, 2022
Merged

feat: run code snippet #108

merged 1 commit into from
May 19, 2022

Conversation

yottahmd
Copy link
Collaborator

Example:

name: example
steps:
  - name: step 1
    command: "bash"
    script: |
      cd /tmp
      echo "hello world" > hello
      cat hello
    output: RESULT
  - name: step 2
    command: echo ${RESULT} # hello world
    depends:
      - step 1

@yottahmd yottahmd force-pushed the feat/run-code-snippet branch 2 times, most recently from 8dca29f to de37238 Compare May 19, 2022 00:13
@yottahmd yottahmd changed the title feat(WIP): run code snippet feat: run code snippet May 19, 2022
@codecov-commenter
Copy link

codecov-commenter commented May 19, 2022

Codecov Report

Merging #108 (9b626e0) into main (58a17ca) will increase coverage by 0.61%.
The diff coverage is 86.11%.

@@            Coverage Diff             @@
##             main     #108      +/-   ##
==========================================
+ Coverage   83.13%   83.75%   +0.61%     
==========================================
  Files          37       37              
  Lines        2752     2800      +48     
==========================================
+ Hits         2288     2345      +57     
+ Misses        339      331       -8     
+ Partials      125      124       -1     
Impacted Files Coverage Δ
internal/config/step.go 100.00% <ø> (ø)
internal/scheduler/node.go 90.14% <83.05%> (+7.93%) ⬆️
internal/config/config.go 84.00% <100.00%> (+0.16%) ⬆️
internal/scheduler/scheduler.go 86.94% <100.00%> (+0.22%) ⬆️
internal/utils/utils.go 87.09% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update cc5d69b...9b626e0. Read the comment docs.

@yottahmd yottahmd force-pushed the feat/run-code-snippet branch 3 times, most recently from caf9941 to df87fe6 Compare May 19, 2022 00:39
@yottahmd yottahmd force-pushed the feat/run-code-snippet branch from df87fe6 to 9b626e0 Compare May 19, 2022 00:45
@yottahmd yottahmd merged commit 24ae41b into main May 19, 2022
@yottahmd yottahmd deleted the feat/run-code-snippet branch May 19, 2022 00:47
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.

2 participants