From 66d77f7bdca824824b8bce4baf1cc9aae86461d5 Mon Sep 17 00:00:00 2001 From: Tan-DESKPC Date: Tue, 11 Jan 2022 21:40:29 -0500 Subject: [PATCH] fucking gha gahhhhh --- .github/workflows/test-coverage.yaml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/test-coverage.yaml b/.github/workflows/test-coverage.yaml index 2c97675..2c71b41 100644 --- a/.github/workflows/test-coverage.yaml +++ b/.github/workflows/test-coverage.yaml @@ -3,22 +3,23 @@ on: push: branches: [main, master] - pull_request: - branches: [main, master] + # tags: ['*'] workflow_dispatch: -name: test-coverage +name: testcoverage jobs: - test-coverage: + testcoverage: runs-on: ubuntu-latest env: GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} - CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN}} + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} steps: - uses: actions/checkout@v2 + - uses: r-lib/actions/setup-pandoc@v1 + - uses: r-lib/actions/setup-r@v1 with: use-public-rspm: true @@ -27,6 +28,6 @@ jobs: with: extra-packages: covr - - name: Test coverage - run: covr::codecov() - shell: Rscript {0} + - name: Test Coverage + run: | + Rscript -e 'covr::codecov()'