Skip to content

Commit

Permalink
Revert yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
Neves-P authored May 30, 2022
1 parent d7f3f08 commit aa76e4d
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions .github/workflows/test-coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ name: test-coverage

jobs:
test-coverage:
runs-on: ubuntu-release
runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}

Expand All @@ -22,19 +22,7 @@ jobs:
- uses: r-lib/actions/setup-r-dependencies@v1
with:
extra-packages: covr


- name: Test coverage
run: |
try(covr::package_coverage(clean = FALSE, quiet = FALSE, pre_clean = FALSE))
file_list <- list.files("/tmp", recursive = TRUE)
index <- grep("testthat.Rout.fail", file_list)
print(file_list)
print("this is the path")
print(paste0("/tmp/", file_list[index]))
print(file.exists(paste0("/tmp/", file_list[index])))
lines <- readLines(file.path("tmp", file_list[index]))
print(lines)
print(cat(file = file.path("tmp", file_list[index])))
run: covr::codecov()
shell: Rscript {0}

0 comments on commit aa76e4d

Please sign in to comment.