diff --git a/.github/workflows/matomo-tests.yml b/.github/workflows/matomo-tests.yml index 1feffdf0215..154ce2c2440 100644 --- a/.github/workflows/matomo-tests.yml +++ b/.github/workflows/matomo-tests.yml @@ -70,6 +70,7 @@ jobs: redis-service: true artifacts-pass: ${{ secrets.ARTIFACTS_PASS }} upload-artifacts: ${{ matrix.php == '7.2' }} + testomatio: ${{ secrets.TESTOMATIO_INTEGRATION }} Javascript: runs-on: ubuntu-20.04 timeout-minutes: 15 diff --git a/tests/UI/config.dist.js b/tests/UI/config.dist.js index 746f2e2dbd0..bab41ad0bb6 100644 --- a/tests/UI/config.dist.js +++ b/tests/UI/config.dist.js @@ -40,7 +40,7 @@ exports.chai = 'chai-1.9.0'; /** * Mocha reporters to use (can be multiple delimited by a comma). */ -if (process.env.TESTOMATIO) { +if (process.env.TESTOMATIO && process.env.SHOULD_SEND_TO_TESTOMATIO === 'true') { exports.reporter = 'mocha-multi-reporters'; exports.reporterOptions = { reporterEnabled: 'spec, @testomatio/reporter/lib/adapter/mocha.js',