Skip to content
This repository was archived by the owner on Nov 20, 2025. It is now read-only.
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 15 additions & 16 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
fail-fast: false
matrix:
environment: ["r43", "r44"]

steps:
- name: Checkout pull request branch
uses: actions/checkout@v4
Expand All @@ -34,17 +34,17 @@ jobs:
with:
run-install: false

- name: Build package
run: pixi run --environment ${{ matrix.environment }} --manifest-path /tmp/pixi/pixi.toml build

# - name: Run unit tests
# run: pixi run --environment ${{ matrix.environment }} devtools_test
#
# - name: Check unit test code coverage
# run: pixi run --environment ${{ matrix.environment }} codecov
- name: Run unit tests
run: pixi run --environment ${{ matrix.environment }} --manifest-path /tmp/pixi/pixi.toml devtools_test

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

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

ci_osx-arm64:
name: osx-arm64 CI
Expand All @@ -70,11 +70,10 @@ jobs:
with:
run-install: false

- name: Build package
run: pixi run --environment ${{ matrix.environment }} --manifest-path /tmp/pixi/pixi.toml build

# - name: Run unit tests
# run: pixi run --environment ${{ matrix.environment }} devtools_test
- name: Run unit tests
run: pixi run --environment ${{ matrix.environment }} --manifest-path /tmp/pixi/pixi.toml devtools_test

- name: Run R CMD CHECK
run: pixi run --environment ${{ matrix.environment }} --manifest-path /tmp/pixi/pixi.toml rcmdcheck
run: |
pixi run --environment ${{ matrix.environment }} --manifest-path /tmp/pixi/pixi.toml build
pixi run --environment ${{ matrix.environment }} --manifest-path /tmp/pixi/pixi.toml rcmdcheck
1 change: 1 addition & 0 deletions pixi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ r43 = {features = ["r44"]}
"r-crayon" = "*"
"r-ggplot2" = "*"
"r-l0learn" = "*"
"r-mr.ash.alpha_mccreight" = "*"

# Suggested dependencies (for testing and documentation)
"r-curl" = "*"
Expand Down
1 change: 1 addition & 0 deletions tests/testthat.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
library(testthat)
library(Rcpp)
library(susieR)

test_check("susieR")