Skip to content

Honor count_type when fetching interactions as dense matrix #88

Honor count_type when fetching interactions as dense matrix

Honor count_type when fetching interactions as dense matrix #88

Workflow file for this run

# Copyright (C) 2024 Roberto Rossini ([email protected])
# SPDX-License-Identifier: MIT
name: CI
on:
workflow_dispatch:
push:
branches: [ main ]
paths:
- ".github/workflows/ci.yml"
- "R/**"
- "src/**"
- "tests/**"
- "conanfile.txt"
- "run_conan.py"
- "DESCRIPTION"
- "NAMESPACE"
tags:
- 'v*.*.*'
pull_request:
paths:
- ".github/workflows/ci.yml"
- "R/**"
- "src/**"
- "tests/**"
- "conanfile.txt"
- "run_conan.py"
- "DESCRIPTION"
- "NAMESPACE"
env:
CONAN_HOME: "${{ github.workspace }}/conan/"
# https://stackoverflow.com/a/72408109
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
defaults:
run:
shell: bash
jobs:
ci:
strategy:
fail-fast: false
matrix:
include:
- { os: windows-latest, r-version: 4.4.1 }
- { os: macos-latest, r-version: 4.4.1 }
- { os: ubuntu-latest, r-version: 4.0.5 }
- { os: ubuntu-latest, r-version: 4.1.3 }
- { os: ubuntu-latest, r-version: 4.2.3 }
- { os: ubuntu-latest, r-version: 4.3.3 }
- { os: ubuntu-latest, r-version: 4.4.1 }
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Generate requirements.txt
run: |
echo 'conan>=2' > requirements.txt
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: 3.12
cache: 'pip'
- name: Install Conan
run: pip install -r requirements.txt
- name: Install pandoc
uses: r-lib/actions/setup-pandoc@v2
- name: Setup R
uses: r-lib/actions/setup-r@v2
with:
r-version: ${{ matrix.r-version }}
- name: Add requirements
uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::rcmdcheck
needs: check
- name: Build and test package
uses: r-lib/actions/check-r-package@v2
ci-status-check:
name: Status Check (CI)
if: ${{ always() }}
runs-on: ubuntu-latest
needs:
- ci
steps:
- name: Collect job results
if: needs.ci.result != 'success'
run: exit 1