Create explicit ci test task.
This commit is contained in:
parent
df7915790b
commit
c5fe9d6963
4 changed files with 6 additions and 13 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -14,3 +14,6 @@ dist
|
||||||
|
|
||||||
# ESLint
|
# ESLint
|
||||||
.eslintcache
|
.eslintcache
|
||||||
|
|
||||||
|
# Junit results
|
||||||
|
results.xml
|
||||||
|
|
|
@ -32,7 +32,7 @@ lint:
|
||||||
test:
|
test:
|
||||||
stage: test
|
stage: test
|
||||||
script:
|
script:
|
||||||
- npm test
|
- npm test:ci
|
||||||
cache:
|
cache:
|
||||||
<<: *global_cache
|
<<: *global_cache
|
||||||
artifacts:
|
artifacts:
|
||||||
|
|
|
@ -12,7 +12,8 @@
|
||||||
"update": "npm install --save-dev git+https://git.f3l.de/dungeonslayers/foundry-pc-types.git#f3l-fixes",
|
"update": "npm install --save-dev git+https://git.f3l.de/dungeonslayers/foundry-pc-types.git#f3l-fixes",
|
||||||
"lint": "eslint 'src/**/*.ts' --cache",
|
"lint": "eslint 'src/**/*.ts' --cache",
|
||||||
"lint:fix": "eslint 'src/**/*.ts' --cache --fix",
|
"lint:fix": "eslint 'src/**/*.ts' --cache --fix",
|
||||||
"test": "ts-node ./node_modules/jasmine-xml-reporter/bin/jasmine --junitreport"
|
"test": "ts-node ./node_modules/jasmine/bin/jasmine",
|
||||||
|
"test:ci": "ts-node ./node_modules/jasmine-xml-reporter/bin/jasmine --junitreport"
|
||||||
},
|
},
|
||||||
"author": "",
|
"author": "",
|
||||||
"license": "",
|
"license": "",
|
||||||
|
|
11
results.xml
11
results.xml
|
@ -1,11 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8" ?>
|
|
||||||
<testsuites disabled="0" errors="0" failures="0" tests="6" time="0.025">
|
|
||||||
<testsuite name="DS4 Rolls" timestamp="2020-12-30T22:36:25" hostname="localhost" time="0.025" errors="0" tests="6" skipped="0" disabled="0" failures="0">
|
|
||||||
<testcase classname="DS4 Rolls" name="Should do a proper single failure roll, upper bound" time="0.012" />
|
|
||||||
<testcase classname="DS4 Rolls" name="Should do a proper single failure roll, lower bound" time="0.001" />
|
|
||||||
<testcase classname="DS4 Rolls" name="Should do a proper single success roll on success edge case." time="0.001" />
|
|
||||||
<testcase classname="DS4 Rolls" name="Should do a proper single success roll." time="0.002" />
|
|
||||||
<testcase classname="DS4 Rolls" name="Should do a proper single crit failure roll." time="0.002" />
|
|
||||||
<testcase classname="DS4 Rolls" name="Should do a proper single crit success roll." time="0.001" />
|
|
||||||
</testsuite>
|
|
||||||
</testsuites>
|
|
Loading…
Reference in a new issue