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 = {
|
||||
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',
|
||||
testEnvironment: 'node',
|
||||
moduleFileExtensions: ['js'],
|
||||
reporters: [
|
||||
'summary', // nice overall summary
|
||||
'github-actions', // adds inline annotations in PRs
|
||||
],
|
||||
};
|
||||
|
||||
@@ -2,4 +2,8 @@ module.exports = {
|
||||
preset: 'ts-jest',
|
||||
testEnvironment: 'node',
|
||||
moduleFileExtensions: ['js'],
|
||||
reporters: [
|
||||
'summary', // nice overall summary
|
||||
'github-actions', // adds inline annotations in PRs
|
||||
],
|
||||
};
|
||||
|
||||
@@ -2,4 +2,8 @@ module.exports = {
|
||||
preset: 'ts-jest',
|
||||
testEnvironment: 'node',
|
||||
moduleFileExtensions: ['js'],
|
||||
reporters: [
|
||||
'summary', // nice overall summary
|
||||
'github-actions', // adds inline annotations in PRs
|
||||
],
|
||||
};
|
||||
|
||||
@@ -49,26 +49,26 @@ jobs:
|
||||
cd packages/tools
|
||||
yarn test:ci
|
||||
|
||||
- uses: tanmen/jest-reporter@v1
|
||||
if: always()
|
||||
with:
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
result-file: integration-tests/result.json
|
||||
action-name: Integration tests
|
||||
# - uses: tanmen/jest-reporter@v1
|
||||
# if: always()
|
||||
# with:
|
||||
# github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
# result-file: integration-tests/result.json
|
||||
# action-name: Integration tests
|
||||
|
||||
- uses: tanmen/jest-reporter@v1
|
||||
if: always()
|
||||
with:
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
result-file: packages/filterparser/result.json
|
||||
action-name: Filter parser test results
|
||||
# - uses: tanmen/jest-reporter@v1
|
||||
# if: always()
|
||||
# with:
|
||||
# github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
# result-file: packages/filterparser/result.json
|
||||
# action-name: Filter parser test results
|
||||
|
||||
- uses: tanmen/jest-reporter@v1
|
||||
if: always()
|
||||
with:
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
result-file: packages/datalib/result.json
|
||||
action-name: Datalib (perspectives) test results
|
||||
# - uses: tanmen/jest-reporter@v1
|
||||
# if: always()
|
||||
# with:
|
||||
# github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
# result-file: packages/datalib/result.json
|
||||
# action-name: Datalib (perspectives) test results
|
||||
|
||||
services:
|
||||
postgres-integr:
|
||||
|
||||
Reference in New Issue
Block a user