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: 'release'}
|
||||||
- {os: ubuntu-latest, r: 'devel'}
|
- {os: ubuntu-latest, r: 'devel'}
|
||||||
steps:
|
steps:
|
||||||
|
- name: Retrieving current month
|
||||||
|
if: runner.os == 'Linux'
|
||||||
|
run: echo "CURRENT_MONTH=$(date +%m)" >> $GITHUB_ENV
|
||||||
|
|
||||||
# Checking out code -------------------------------------- #
|
# Checking out code -------------------------------------- #
|
||||||
- name: Checking out the repository
|
- name: Checking out the repository
|
||||||
|
|
@ -73,6 +76,7 @@ jobs:
|
||||||
|
|
||||||
# Installing package dependencies ------------------------ #
|
# Installing package dependencies ------------------------ #
|
||||||
- name: Installing package dependencies
|
- name: Installing package dependencies
|
||||||
|
if: ${{ env.CURRENT_MONTH < 4 || env.CURRENT_MONTH > 10 }}
|
||||||
run: |
|
run: |
|
||||||
remotes::install_cran(c("rcmdcheck", "BiocManager"))
|
remotes::install_cran(c("rcmdcheck", "BiocManager"))
|
||||||
BiocManager::install("GenomicRanges")
|
BiocManager::install("GenomicRanges")
|
||||||
|
|
@ -82,6 +86,7 @@ jobs:
|
||||||
|
|
||||||
# Checking package --------------------------------------- #
|
# Checking package --------------------------------------- #
|
||||||
- name: Checking package
|
- name: Checking package
|
||||||
|
if: ${{ env.CURRENT_MONTH < 4 || env.CURRENT_MONTH > 10 }}
|
||||||
env:
|
env:
|
||||||
_R_CHECK_CRAN_INCOMING_REMOTE_: false
|
_R_CHECK_CRAN_INCOMING_REMOTE_: false
|
||||||
run: |
|
run: |
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue