Skip to content

Add support for post_run#1778

Merged
shahzebsiddiqui merged 8 commits intodevelfrom
post_run
May 17, 2024
Merged

Add support for post_run#1778
shahzebsiddiqui merged 8 commits intodevelfrom
post_run

Conversation

@shahzebsiddiqui
Copy link
Member

This PR will add a key name post_run in buildspec that can be used to execute commands after test is complete.

This is useful for cleaning up or running some commands after test is complete.

… will be used to specify commands to run after test is complete. The post_run

will generate a script that will be executed after execution of test. This will not impact that actual test and mainly used for cleanup.

We have an example buildspec to demonstrate this example test
…was not reaching this statement and later accessed.

We create symlink for example buildspec for regression test.
add method for testing example buildspec post_run.yml
change behavior of buildtest to show output of test with up to 10 lines
@pull-request-size pull-request-size bot added size/L and removed size/M labels May 17, 2024
@shahzebsiddiqui shahzebsiddiqui merged commit 399b3a2 into devel May 17, 2024
@shahzebsiddiqui shahzebsiddiqui deleted the post_run branch May 17, 2024 17:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant