Skip to content

Commit

Permalink
Update test-parallel-windows.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
prdm0 committed Apr 23, 2024
1 parent 732243a commit 0ad0370
Showing 1 changed file with 26 additions and 26 deletions.
52 changes: 26 additions & 26 deletions .github/workflows/test-parallel-windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,38 +2,38 @@ name: R-CMD-check

on:
push:
branches:
- master
pull_request:
branches:
- master
branches:
- master
pull_request:
branches:
- master

jobs:
R-CMD-check:
runs-on: windows-latest
runs-on: windows-latest

steps:
- uses: actions/checkout@v2
steps:
- uses: actions/checkout@v2

- uses: r-lib/actions/setup-r@v1
with:
r-version: '4.0.5' # Substitua pela versão do R que você está usando
- uses: r-lib/actions/setup-r@v1
with:
r-version: '4.0.5' # Substitua pela versão do R que você está usando

- uses: r-lib/actions/setup-pandoc@v1
- uses: r-lib/actions/setup-pandoc@v1

- name: Install dependencies
run: |
install.packages(c('remotes', 'testthat'))
remotes::install_github('prdm0/AcceptReject')
remotes::install_deps(dependencies = TRUE)
shell: Rscript {0}
- name: Install dependencies
run: |
install.packages(c('remotes', 'testthat'))
remotes::install_github('prdm0/AcceptReject')
remotes::install_deps(dependencies = TRUE)
shell: Rscript {0}

- name: Check package
run: |
devtools::check()
shell: Rscript {0}
- name: Check package
run: |
devtools::check()
shell: Rscript {0}

- name: Run tests
run: |
testthat::test_file("tests/testthat/test-time-parallel.R")
shell: Rscript {0}
- name: Run tests
run: |
testthat::test_file("tests/testthat/test-time-parallel.R")
shell: Rscript {0}

0 comments on commit 0ad0370

Please sign in to comment.