From f402af6823811945efd2a73d458ec66a79ef1525 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Dan=C3=ADel=20Vias?= <78622738+RafaelVias@users.noreply.github.com> Date: Thu, 5 Sep 2024 10:29:55 +0000 Subject: [PATCH] debug --- .github/workflows/R-CMD-check.yaml | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index 9cbfc77..9c4bd38 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -38,16 +38,17 @@ jobs: if: runner.os == 'Linux' run: | sudo apt-get update - sudo apt-get install -y libarmadillo-dev liblapack-dev libblas-dev + sudo apt-get install -y libarmadillo-dev liblapack-dev libblas-dev libopenblas-dev - uses: r-lib/actions/setup-r-dependencies@v2 with: extra-packages: any::rcmdcheck needs: check - - name: Install system dependencies - if: runner.os == 'Linux' + - name: Set up Fortran compiler (macOS) + if: runner.os == 'macOS' run: | - sudo apt-get update - sudo apt-get install -y libopenblas-dev + brew install gcc + echo "FC=/usr/local/bin/gfortran" >> $GITHUB_ENV + echo "FLIBS=-L/usr/local/lib/gcc/current -lgfortran -lquadmath -lm" >> $GITHUB_ENV - uses: r-lib/actions/check-r-package@v2 with: upload-snapshots: true @@ -70,3 +71,8 @@ jobs: PKG_FILE=$(ls -1t *.tar.gz | head -n 1) R CMD INSTALL ${PKG_FILE} Rscript -e "library(bdrc); print(ls('package:bdrc'))" + - name: Test coverage + run: | + covr::codecov(quiet = FALSE, clean = FALSE, install_path = file.path(Sys.getenv("RUNNER_TEMP"), "package"), verbose = TRUE) + shell: Rscript {0} + timeout-minutes: 15