Skip to content

Commit

Permalink
ga cleanup start
Browse files Browse the repository at this point in the history
  • Loading branch information
Bruno Rodrigues committed Jul 11, 2024
1 parent a174e84 commit 5089a22
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
on:
push:
branches: [main, master]
branches: [main-not, master-not]
pull_request:
branches: [main, master]
branches: [main-not, master-not]

name: R-CMD-check

Expand Down
23 changes: 23 additions & 0 deletions .github/workflows/run_rhub.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Run rhub checks
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]

name: rhub-checks

permissions:
contents: read

jobs:
devtools:
runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}

steps:
- uses: actions/checkout@v4

- name: Run checks
run: nix-shell --run "Rscript -e \"rhub::rhub_check(platforms = c('linux','macos','macos-arm64','windows','ubuntu-next','ubuntu-release'))\""
4 changes: 2 additions & 2 deletions .github/workflows/tests-r-via-system.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
on:
push:
branches: [main, master]
branches: [main-not, master-not]
pull_request:
branches: [main, master]
branches: [main-not, master-not]

name: tests-r-via-system

Expand Down
2 changes: 1 addition & 1 deletion default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ let
testthat
knitr
rmarkdown
precommit;
rhub;
};

tex = (pkgs.texlive.combine {
Expand Down

0 comments on commit 5089a22

Please sign in to comment.