diff --git a/.tas.yml b/.tas.yml new file mode 100644 index 0000000000000..7e2fe3db751b3 --- /dev/null +++ b/.tas.yml @@ -0,0 +1,16 @@ +# THIS IS A SAMPLE ".tas.yml" CONFIGURATION FILE +# FIRSTLY - You need to specify which testing framework you are using. Currently supported JS frameworks are : mocha, jest and jasmine. +framework: golang +version: 1.2.0 +preRun: + # SECONDLY - You need to set the preRun commands. These are shell commands executed inside the root level of your git repository before running the tests. preRun commands are executed using non-login shells by default, so you must explicitly source any dotfiles as part of the command. + command: + - "go get -d ./..." + - "go mod vendor" + +postMerge: + # THIRDLY - You need to set postMerge patterns. + # These would be the glob patterns for the test cases that you want to execute in the post-merge jobs. A postMerge test execution job is initiated whenever a PR is merged into a branch. + pattern: + # glob-patterns to discover tests to run in case of postMerge + - ""