From b01763443114d17c1466ccb6d31912f3ffd66b3c Mon Sep 17 00:00:00 2001 From: Amir Omidi Date: Mon, 9 Mar 2020 11:01:39 -0700 Subject: [PATCH] add coverage reports for base product (#9499) --- .github/workflows/ci.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b395bd0a8a..51b759f4d2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -47,8 +47,15 @@ jobs: name: Compile Sources # - run: yarn download-builtin-extensions {{SQL CARBON EDIT}} remove step # name: Download Built-in Extensions - - run: DISPLAY=:10 ./scripts/test.sh --tfs "Unit Tests" + - run: DISPLAY=:10 ./scripts/test.sh --tfs "Unit Tests" --coverage --runGlob "**/sql/**/*.test.js" name: Run Unit Tests (Electron) + # {{SQL CARBON EDIT}} Add coveralls + - name: Coveralls GitHub Action + uses: coverallsapp/github-action@v1.0.1 + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + path-to-lcov: '.build/coverage-single/lcov.info' + # Fails with cryptic error (e.g. https://github.com/microsoft/vscode/pull/90292/checks?check_run_id=433681926#step:13:9) # - run: DISPLAY=:10 yarn test-browser --browser chromium # name: Run Unit Tests (Browser)