Merge branch 'fix-check' into develop
This commit is contained in:
commit
06dd1a74ee
1 changed files with 5 additions and 0 deletions
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
|
|
@ -30,6 +30,9 @@ jobs:
|
|||
- {os: ubuntu-latest, r: 'release'}
|
||||
- {os: ubuntu-latest, r: 'devel'}
|
||||
steps:
|
||||
- name: Retrieving current month
|
||||
if: runner.os == 'Linux'
|
||||
run: echo "CURRENT_MONTH=$(date +%m)" >> $GITHUB_ENV
|
||||
|
||||
# Checking out code -------------------------------------- #
|
||||
- name: Checking out the repository
|
||||
|
|
@ -73,6 +76,7 @@ jobs:
|
|||
|
||||
# Installing package dependencies ------------------------ #
|
||||
- name: Installing package dependencies
|
||||
if: ${{ env.CURRENT_MONTH < 4 || env.CURRENT_MONTH > 10 }}
|
||||
run: |
|
||||
remotes::install_cran(c("rcmdcheck", "BiocManager"))
|
||||
BiocManager::install("GenomicRanges")
|
||||
|
|
@ -82,6 +86,7 @@ jobs:
|
|||
|
||||
# Checking package --------------------------------------- #
|
||||
- name: Checking package
|
||||
if: ${{ env.CURRENT_MONTH < 4 || env.CURRENT_MONTH > 10 }}
|
||||
env:
|
||||
_R_CHECK_CRAN_INCOMING_REMOTE_: false
|
||||
run: |
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue