mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-17 22:36:01 +00:00
test reporters
This commit is contained in:
@@ -1,3 +1,7 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
setupFilesAfterEnv: ['<rootDir>/setupTests.js'],
|
setupFilesAfterEnv: ['<rootDir>/setupTests.js'],
|
||||||
|
reporters: [
|
||||||
|
'summary', // nice overall summary
|
||||||
|
'github-actions', // adds inline annotations in PRs
|
||||||
|
],
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -2,4 +2,8 @@ module.exports = {
|
|||||||
preset: 'ts-jest',
|
preset: 'ts-jest',
|
||||||
testEnvironment: 'node',
|
testEnvironment: 'node',
|
||||||
moduleFileExtensions: ['js'],
|
moduleFileExtensions: ['js'],
|
||||||
|
reporters: [
|
||||||
|
'summary', // nice overall summary
|
||||||
|
'github-actions', // adds inline annotations in PRs
|
||||||
|
],
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -2,4 +2,8 @@ module.exports = {
|
|||||||
preset: 'ts-jest',
|
preset: 'ts-jest',
|
||||||
testEnvironment: 'node',
|
testEnvironment: 'node',
|
||||||
moduleFileExtensions: ['js'],
|
moduleFileExtensions: ['js'],
|
||||||
|
reporters: [
|
||||||
|
'summary', // nice overall summary
|
||||||
|
'github-actions', // adds inline annotations in PRs
|
||||||
|
],
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -2,4 +2,8 @@ module.exports = {
|
|||||||
preset: 'ts-jest',
|
preset: 'ts-jest',
|
||||||
testEnvironment: 'node',
|
testEnvironment: 'node',
|
||||||
moduleFileExtensions: ['js'],
|
moduleFileExtensions: ['js'],
|
||||||
|
reporters: [
|
||||||
|
'summary', // nice overall summary
|
||||||
|
'github-actions', // adds inline annotations in PRs
|
||||||
|
],
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -49,26 +49,26 @@ jobs:
|
|||||||
cd packages/tools
|
cd packages/tools
|
||||||
yarn test:ci
|
yarn test:ci
|
||||||
|
|
||||||
- uses: tanmen/jest-reporter@v1
|
# - uses: tanmen/jest-reporter@v1
|
||||||
if: always()
|
# if: always()
|
||||||
with:
|
# with:
|
||||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
# github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
result-file: integration-tests/result.json
|
# result-file: integration-tests/result.json
|
||||||
action-name: Integration tests
|
# action-name: Integration tests
|
||||||
|
|
||||||
- uses: tanmen/jest-reporter@v1
|
# - uses: tanmen/jest-reporter@v1
|
||||||
if: always()
|
# if: always()
|
||||||
with:
|
# with:
|
||||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
# github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
result-file: packages/filterparser/result.json
|
# result-file: packages/filterparser/result.json
|
||||||
action-name: Filter parser test results
|
# action-name: Filter parser test results
|
||||||
|
|
||||||
- uses: tanmen/jest-reporter@v1
|
# - uses: tanmen/jest-reporter@v1
|
||||||
if: always()
|
# if: always()
|
||||||
with:
|
# with:
|
||||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
# github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
result-file: packages/datalib/result.json
|
# result-file: packages/datalib/result.json
|
||||||
action-name: Datalib (perspectives) test results
|
# action-name: Datalib (perspectives) test results
|
||||||
|
|
||||||
services:
|
services:
|
||||||
postgres-integr:
|
postgres-integr:
|
||||||
|
|||||||
Reference in New Issue
Block a user