Skip to content

Commit

Permalink
add nix to subshell
Browse files Browse the repository at this point in the history
  • Loading branch information
philipp-baumann committed Jan 28, 2024
1 parent cc8b68a commit c9bd1e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test-coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
uses: DeterminateSystems/nix-installer-action@main

- name: Test coverage
run: nix-shell -p R rPackages.covr rPackages.codetools rPackages.sys rPackages.testthat --run "Rscript -e 'covr::codecov(quiet = FALSE, clean = FALSE, install_path = file.path(Sys.getenv(\"RUNNER_TEMP\"), \"package\"))' "
run: nix-shell -p nix R rPackages.covr rPackages.codetools rPackages.sys rPackages.testthat --run "Rscript -e 'covr::codecov(quiet = FALSE, clean = FALSE, install_path = file.path(Sys.getenv(\"RUNNER_TEMP\"), \"package\"))' "

- name: Show testthat output
if: always()
Expand Down

0 comments on commit c9bd1e6

Please sign in to comment.