diff --git a/integration-tests/jest.config.js b/integration-tests/jest.config.js index 83368208f..a616d6913 100644 --- a/integration-tests/jest.config.js +++ b/integration-tests/jest.config.js @@ -1,3 +1,7 @@ module.exports = { setupFilesAfterEnv: ['/setupTests.js'], + reporters: [ + 'summary', // nice overall summary + 'github-actions', // adds inline annotations in PRs + ], }; diff --git a/packages/datalib/jest.config.js b/packages/datalib/jest.config.js index 790050941..4ce2c6ba7 100644 --- a/packages/datalib/jest.config.js +++ b/packages/datalib/jest.config.js @@ -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 + ], }; diff --git a/packages/filterparser/jest.config.js b/packages/filterparser/jest.config.js index 790050941..4ce2c6ba7 100644 --- a/packages/filterparser/jest.config.js +++ b/packages/filterparser/jest.config.js @@ -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 + ], }; diff --git a/packages/tools/jest.config.js b/packages/tools/jest.config.js index 790050941..faecf7d0d 100644 --- a/packages/tools/jest.config.js +++ b/packages/tools/jest.config.js @@ -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 + ], }; diff --git a/workflow-templates/run-tests.yaml b/workflow-templates/run-tests.yaml index 48324e97e..2fd35404d 100644 --- a/workflow-templates/run-tests.yaml +++ b/workflow-templates/run-tests.yaml @@ -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: