diff --git a/.github/workflows/run-tests.yaml b/.github/workflows/run-tests.yaml index 9bea98ca2..a1a9c7b31 100644 --- a/.github/workflows/run-tests.yaml +++ b/.github/workflows/run-tests.yaml @@ -31,6 +31,11 @@ jobs: run: | cd packages/filterparser yarn test:ci + - name: Datalib (perspective) tests + if: always() + run: | + cd packages/datalib + yarn test:ci - uses: tanmen/jest-reporter@v1 if: always() with: @@ -43,6 +48,12 @@ jobs: 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 services: postgres: diff --git a/packages/datalib/package.json b/packages/datalib/package.json index a625f4ef5..0126850e4 100644 --- a/packages/datalib/package.json +++ b/packages/datalib/package.json @@ -6,6 +6,7 @@ "scripts": { "build": "tsc", "test": "jest", + "test:ci": "jest --json --outputFile=result.json --testLocationInResults", "start": "tsc --watch" }, "files": [