Skip to content

Commit

Permalink
ci: debug
Browse files Browse the repository at this point in the history
  • Loading branch information
akselthomsen committed Dec 9, 2024
1 parent 1c10aff commit 5575c50
Show file tree
Hide file tree
Showing 2 changed files with 112 additions and 36 deletions.
72 changes: 36 additions & 36 deletions .github/workflows/check_and_co.yaml
Original file line number Diff line number Diff line change
@@ -1,36 +1,36 @@
on:
push:
branches:
- main
- master
pull_request:
branches:
- main
- master
name: All actions
jobs:
check-current-version:
name: Check current version
uses: >-
NovoNordisk-OpenSource/r.workflows/.github/workflows/check_current_version.yaml@main
with:
use_local_setup_action: true
check-nn-version:
name: Check NN version
uses: >-
NovoNordisk-OpenSource/r.workflows/.github/workflows/check_nn_versions.yaml@main
with:
use_local_setup_action: true
pkgdown:
name: Pkgdown site
uses: NovoNordisk-OpenSource/r.workflows/.github/workflows/pkgdown.yaml@main
with:
use_local_setup_action: true
coverage:
name: Coverage report
uses: NovoNordisk-OpenSource/r.workflows/.github/workflows/coverage.yaml@main
with:
use_local_setup_action: true
megalinter:
name: Megalinter
uses: NovoNordisk-OpenSource/r.workflows/.github/workflows/megalinter.yaml@main
# on:
# push:
# branches:
# - main
# - master
# pull_request:
# branches:
# - main
# - master
# name: All actions
# jobs:
# check-current-version:
# name: Check current version
# uses: >-
# NovoNordisk-OpenSource/r.workflows/.github/workflows/check_current_version.yaml@main
# with:
# use_local_setup_action: true
# check-nn-version:
# name: Check NN version
# uses: >-
# NovoNordisk-OpenSource/r.workflows/.github/workflows/check_nn_versions.yaml@main
# with:
# use_local_setup_action: true
# pkgdown:
# name: Pkgdown site
# uses: NovoNordisk-OpenSource/r.workflows/.github/workflows/pkgdown.yaml@main
# with:
# use_local_setup_action: true
# coverage:
# name: Coverage report
# uses: NovoNordisk-OpenSource/r.workflows/.github/workflows/coverage.yaml@main
# with:
# use_local_setup_action: true
# megalinter:
# name: Megalinter
# uses: NovoNordisk-OpenSource/r.workflows/.github/workflows/megalinter.yaml@main
76 changes: 76 additions & 0 deletions .github/workflows/debug.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
on:
push:
branches:
- main
- master
pull_request:
branches:
- main
- master

name: debug R-CMD-check standard
on:
push:
branches:
- main
- master
pull_request:
branches:
- main
- master
workflow_dispatch:

permissions:
contents: read

jobs:
R-CMD-check:
runs-on: '${{ matrix.config.os }}'
name: '${{ matrix.config.os }} (${{ matrix.config.r }})'
strategy:
fail-fast: false
matrix:
config:
- os: ubuntu-latest
r: release
env:
R_KEEP_PKG_SOURCE: true
steps:
- uses: actions/checkout@v4
- name: Allow strace to attach to a process
if: runner.os == 'Linux'
shell: bash
run: |
echo 0 | sudo tee /proc/sys/kernel/yama/ptrace_scope
- name: Install Quarto
uses: quarto-dev/quarto-actions/setup@v2

- name: (Linux) Install jupyter
if: runner.os == 'Linux'
shell: bash
run: python3 -m pip install jupyter

- name: (macOS) Install jupyter
if: runner.os == 'macOS'
shell: bash
run: python3 -m pip install --break-system-packages jupyter

- name: (Windows) Install jupyter
if: runner.os == 'Windows'
shell: bash
run: py -m pip install jupyter

- uses: r-lib/actions/setup-pandoc@v2
- uses: r-lib/actions/setup-r@v2
with:
r-version: '${{matrix.config.r}}'
http-user-agent: '${{matrix.config.http-user-agent}}'
use-public-rspm: true
- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: 'any::rcmdcheck'
needs: check
- uses: r-lib/actions/check-r-package@v2
with:
upload-snapshots: true

0 comments on commit 5575c50

Please sign in to comment.