test reporters

This commit is contained in:
Jan Prochazka
2025-11-27 14:47:43 +01:00
parent abf0fc7942
commit a4c4d17381
5 changed files with 34 additions and 18 deletions

View File

@@ -1,3 +1,7 @@
module.exports = {
setupFilesAfterEnv: ['<rootDir>/setupTests.js'],
reporters: [
'summary', // nice overall summary
'github-actions', // adds inline annotations in PRs
],
};

View File

@@ -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
],
};

View File

@@ -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
],
};

View File

@@ -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
],
};

View File

@@ -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: