From 19d4e993b3957bde5db274f0877be20739420cff Mon Sep 17 00:00:00 2001 From: marabesi Date: Sun, 25 Feb 2024 20:30:27 +0100 Subject: [PATCH] ci: disable coveralls on branches --- .github/workflows/ci.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5d66ca0..e98178a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -87,10 +87,13 @@ jobs: key: ${{ hashFiles('**/package-lock.json') }} - name: coverage - env: - DISPLAY: ':99.0' + if: github.ref == 'refs/heads/main' run: npm run coveralls + - name: coverage (no coveralls) + if: github.ref != 'refs/heads/main' + run: npm run coverage + #- name: memory leak detection # run: npm run test -- --detectLeaks