From 55da0387569f89e27f701964ca1b798bcbed5712 Mon Sep 17 00:00:00 2001 From: Eva Hamrud <50098063+evaham1@users.noreply.github.com> Date: Wed, 2 Oct 2024 16:35:46 +1000 Subject: [PATCH] uncomment test coverage - run only on scheuled events --- .github/workflows/actions.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index 32d91df8..5ce30af0 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -217,13 +217,13 @@ jobs: tags: ${{ needs.versions.outputs.docker_tag }} build_args: BIOC_VERSION=${{ needs.versions.outputs.bioc }} - # - name: Test coverage 🔍 - # # if: (matrix.config.os == 'ubuntu-latest' && matrix.config.r == 'release') - # # the commands between 'set +e' and 'set -e' are run without throwing any error - # run: | - # set +e - # Rscript -e "covr::codecov(type = c('tests', 'examples'))" - # set -e + - name: Test coverage 🔍 + if: github.event_name == 'schedule' && github.repository == 'mixOmicsTeam/mixOmics' + # the commands between 'set +e' and 'set -e' are run without throwing any error + run: | + set +e + Rscript -e "covr::codecov(type = c('tests', 'examples'))" + set -e # - name: Notify Slack 📣 # uses: 8398a7/action-slack@v3