-
Notifications
You must be signed in to change notification settings - Fork 130
/
sample-tas.yaml
38 lines (38 loc) · 1.17 KB
/
sample-tas.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# supported frameworks: mocha|jest|jasmine
framework: mocha
# supported tiers: xmall|small|medium|large|xlarge
tier: xsmall
blocklist:
# format: "<filename>##<suit-name>##<suit-name>##<test-name>"
- "src/test/api.js"
- "src/test/api1.js##this is a test-suite"
- "src/test/api2.js##this is a test-suite##this is a test-case"
postMerge:
# env vars provided at the time of discovering and executing the post-merge tests
env:
REPONAME: nexe
AWS_KEY: ${{ secrets.AWS_KEY }}
# glob-pattern for identifying the test files
pattern:
- "./test/**/*.spec.ts"
# strategy for trigerring builds for post-merge
strategy:
threshold: 1
name: after_n_commits
preMerge:
pattern:
- "./test/**/*.spec.ts"
preRun:
# set of commands to run before running the tests like `yarn install`, `yarn build`
command:
- npm ci
- docker build --build-arg NPM_TOKEN=${{ secrets.NPM_TOKEN }} --tag=nucleus
postRun:
# set of commands to run after running the tests
command:
- node --version
# path to your custom configuration file required by framework
configFile: mocharc.yml
# provide the version of nodejs required for your project
nodeVersion: 14.17.2
version: 2.0