Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c660592

Browse files
authored
Create .tas.yml
1 parent b6ad562 commit c660592

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.tas.yml

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# THIS IS A SAMPLE ".tas.yml" CONFIGURATION FILE
2+
# FIRSTLY - You need to specify which testing framework you are using. Currently supported JS frameworks are : mocha, jest and jasmine.
3+
framework: golang
4+
version: 1.2.0
5+
preRun:
6+
# 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.
7+
command:
8+
- "go get -d ./..."
9+
- "go mod vendor"
10+
11+
postMerge:
12+
# THIRDLY - You need to set postMerge patterns.
13+
# 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.
14+
pattern:
15+
# glob-patterns to discover tests to run in case of postMerge
16+
- ""

0 commit comments

Comments
 (0)