From ad80ad603f00a644209f38e1570bf371d4688188 Mon Sep 17 00:00:00 2001 From: "Diego H." Date: Sat, 7 Dec 2024 21:54:43 +0100 Subject: [PATCH 1/2] Update action --- .github/workflows/test-coverage.yaml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test-coverage.yaml b/.github/workflows/test-coverage.yaml index 188f5347..e60436ac 100644 --- a/.github/workflows/test-coverage.yaml +++ b/.github/workflows/test-coverage.yaml @@ -27,8 +27,13 @@ jobs: with: extra-packages: any::covr, any::xml2 needs: coverage - + + - name: R CMD Check examples + if: ${{ !cancelled() }} + uses: r-lib/actions/check-r-package@v2 + - name: Test coverage + if: ${{ !cancelled() }} run: | cov <- covr::package_coverage( quiet = FALSE, @@ -39,7 +44,7 @@ jobs: shell: Rscript {0} - name: Create Junit Report - if: always() + if: ${{ !cancelled() }} run: | test_out <- path.expand(file.path(getwd(), "junit.xml")) testthat::test_local(reporter = testthat::JunitReporter$new(test_out)) @@ -78,7 +83,3 @@ jobs: name: coverage-test-failures path: ${{ runner.temp }}/package - - name: R CMD Check examples - if: always() - uses: r-lib/actions/check-r-package@v2 - From 1fdc1cd8e376af5c9cca34c501108aae34752422 Mon Sep 17 00:00:00 2001 From: "Diego H." Date: Sat, 7 Dec 2024 22:03:53 +0100 Subject: [PATCH 2/2] =?UTF-8?q?A=C3=B1ade=20api=20key?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/test-coverage.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/test-coverage.yaml b/.github/workflows/test-coverage.yaml index e60436ac..056cd57e 100644 --- a/.github/workflows/test-coverage.yaml +++ b/.github/workflows/test-coverage.yaml @@ -15,6 +15,10 @@ jobs: env: GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} + AEMET_API_KEY: ${{ secrets.AEMET_API_KEY_CODECOV }} + AEMET_API_KEY01: ${{ secrets.AEMET_API_KEY_PKGDOWN }} + AEMET_API_KEY02: ${{ secrets.AEMET_API_KEY }} + steps: - uses: actions/checkout@v4