From 68957ab5a47cdaa784805f6de68a97705d67c86f Mon Sep 17 00:00:00 2001 From: Christopher Rogers Date: Thu, 5 Sep 2024 10:04:25 -0700 Subject: [PATCH] Adds coveralls reporting to CI --- .github/workflows/ci.yaml | 8 ++++++++ karma.ci.conf.js | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 353dac9ec..560948df6 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -144,8 +144,16 @@ jobs: - integration_test steps: - uses: actions/checkout@v3 + - uses: browser-actions/setup-chrome@v1 - name: Build run: make build + - name: Report coverage + uses: coactions/setup-xvfb@v1 + env: + COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} + DISPLAY: :99 + with: + run: make test-unit-cov-ci - uses: google-github-actions/auth@v1 with: credentials_json: ${{ secrets.GCR_QA_PUBLIC_DEVOPS_SA }} diff --git a/karma.ci.conf.js b/karma.ci.conf.js index bca7b19ec..9a8b83364 100644 --- a/karma.ci.conf.js +++ b/karma.ci.conf.js @@ -6,7 +6,7 @@ const { } = require('./test/conf/browserstack'); const { - BROWSER = 'chrome', + BROWSER = 'Chrome', REPORT_COVERAGE = false, GITHUB_RUN_ID } = process.env;