Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
7 changes: 4 additions & 3 deletions .github/environment/pixi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@ platforms = [
devtools_document = "cd $GITHUB_WORKSPACE; R -e 'devtools::document()'"
devtools_test = "cd $GITHUB_WORKSPACE; R -e 'devtools::test(stop_on_failure = TRUE)'"
codecov = "cd $GITHUB_WORKSPACE; R -e 'covr::codecov(quiet = FALSE)'"
rcmdcheck = "cd $GITHUB_WORKSPACE; R -e 'rcmdcheck::rcmdcheck()'"
bioccheck_git_clone = "cd $GITHUB_WORKSPACE; R -e 'BiocCheck::BiocCheckGitClone()'"
bioccheck = "cd $GITHUB_WORKSPACE; R -e 'BiocCheck::BiocCheck()'"
rcmdcheck = "cd $GITHUB_WORKSPACE; R -e 'rcmdcheck::rcmdcheck(error_on = \"error\", args = c(\"--no-manual\", \"--no-build-vignettes\"))'"
bioccheck_git_clone = "cd $GITHUB_WORKSPACE; R -e 'BiocCheck::BiocCheckGitClone(\"quit-with-status\" = TRUE)'"
bioccheck = "cd $GITHUB_WORKSPACE; R -e 'BiocCheck::BiocCheck(\"quit-with-status\" = FALSE)'"
goodpractice = "cd $GITHUB_WORKSPACE; R -e 'goodpractice::gp(\".\")'"
use_major_version = "cd $GITHUB_WORKSPACE; R -e 'usethis::use_version(which = \"major\", push = FALSE)'"
use_minor_version = "cd $GITHUB_WORKSPACE; R -e 'usethis::use_version(which = \"minor\", push = FALSE)'"
use_patch_version = "cd $GITHUB_WORKSPACE; R -e 'usethis::use_version(which = \"patch\", push = FALSE)'"
Expand Down
40 changes: 14 additions & 26 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,23 +12,23 @@ concurrency:

jobs:
ci:
name: CI (${{ matrix.platform }} / ${{ matrix.environment }})
name: ${{ matrix.name }} (${{ matrix.platform }} / ${{ matrix.environment }})
runs-on: ${{ matrix.runner }}
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
strategy:
fail-fast: false
matrix:
runner: [ubuntu-latest, macos-latest, ubuntu-24.04-arm]
environment: ["r45"]
include:
- runner: ubuntu-latest
platform: linux-64
- runner: ubuntu-24.04-arm
platform: linux-aarch64
- runner: macos-latest
platform: osx-arm64

- { name: Run unit tests, task: devtools_test, platform: linux-aarch64, runner: ubuntu-24.04-arm, environment: r45 }
- { name: Run unit tests, task: devtools_test, platform: osx-arm64, runner: macos-latest, environment: r45 }
- { name: Run unit tests, task: devtools_test, platform: linux-64, -aarch64, runner: ubuntu-24.04-arm, environment: r45 }
- { name: Check code coverage with covr, task: codecov, platform: linux-64, runner: ubuntu-latest, environment: r45 }
- { name: Run R CMD check, task: rcmdcheck, platform: linux-64, runner: ubuntu-latest, environment: r45 }
- { name: Run BiocCheckGitClone, task: bioccheck_git_clone, platform: linux-64, runner: ubuntu-latest, environment: r45 }
- { name: Run BiocCheck, task: bioccheck, platform: linux-64, runner: ubuntu-latest, environment: r45 }
- { name: Check goodpractice, task: goodpractice, platform: linux-64, runner: ubuntu-latest, environment: r45 }
- { name: Check pkgdown_build, task: pkgdown_build, platform: linux-64, runner: ubuntu-latest, environment: r45 }
steps:
- name: Checkout pull request branch
uses: actions/checkout@v7
Expand All @@ -46,20 +46,8 @@ jobs:
with:
manifest-path: /tmp/pixi/pixi.toml

- name: Run unit tests
run: |
pixi config set --manifest-path /tmp/pixi/pixi.toml --local run-post-link-scripts insecure
pixi run --environment ${{ matrix.environment }} --manifest-path /tmp/pixi/pixi.toml devtools_test

- name: Check unit test code coverage
if: matrix.platform == 'linux-64'
run: pixi run --environment ${{ matrix.environment }} --manifest-path /tmp/pixi/pixi.toml codecov

#- name: Run R CMD CHECK
#run: pixi run --environment ${{ matrix.environment }} --manifest-path /tmp/pixi/pixi.toml rcmdcheck

#- name: Run BiocCheckGitClone
#run: pixi run --environment ${{ matrix.environment }} --manifest-path /tmp/pixi/pixi.toml bioccheck_git_clone
- name: Allow post-link scripts
run: pixi config set --manifest-path /tmp/pixi/pixi.toml --local run-post-link-scripts insecure

#- name: Run BiocCheck
#run: pixi run --environment ${{ matrix.environment }} --manifest-path /tmp/pixi/pixi.toml bioccheck
- name: ${{ matrix.name }}
run: pixi run --environment ${{ matrix.environment }} --manifest-path /tmp/pixi/pixi.toml ${{ matrix.task }}
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,9 @@ Collate:
'AnnotationMatrix.R'
'ColocResult.R'
'ColocBoostResult.R'
'CtwasResultEntry.R'
'tupleSelectors.R'
'CtwasResult.R'
'CtwasResultEntry.R'
'GenotypeDosageSeed.R'
'GwasFineMappingResult.R'
'MethodOptions.R'
Expand Down
Loading
Loading