From c660592ec12b928c25f65ae297aabb9c088217f5 Mon Sep 17 00:00:00 2001 From: Shirish Somani <35517834+shirish4@users.noreply.github.com> Date: Tue, 19 Jul 2022 19:44:35 +0530 Subject: [PATCH 1/3] Create .tas.yml --- .tas.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .tas.yml 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 + - "" From 3d9b6faedf85bc0c39b8a6b29bdbbaaf38a0c691 Mon Sep 17 00:00:00 2001 From: Shirish Somani <35517834+shirish4@users.noreply.github.com> Date: Tue, 19 Jul 2022 21:58:53 +0530 Subject: [PATCH 2/3] Update .tas.yml --- .tas.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.tas.yml b/.tas.yml index 7e2fe3db751b3..a007c8ce82142 100644 --- a/.tas.yml +++ b/.tas.yml @@ -1,4 +1,4 @@ -# THIS IS A SAMPLE ".tas.yml" CONFIGURATION FILE +# 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 From 0a79799692242e478ca02e5f439d0e6e28684aa5 Mon Sep 17 00:00:00 2001 From: Shirish Somani <35517834+shirish4@users.noreply.github.com> Date: Fri, 22 Jul 2022 16:56:35 +0530 Subject: [PATCH 3/3] Update .tas.yml --- .tas.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.tas.yml b/.tas.yml index a007c8ce82142..7e2fe3db751b3 100644 --- a/.tas.yml +++ b/.tas.yml @@ -1,4 +1,4 @@ -# THIS IS A SAMPLE ".tas.yml" CONFIGURATION FILE. +# 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