Skip to content

Check Pharmpy development version #238

Check Pharmpy development version

Check Pharmpy development version #238

Workflow file for this run

on:
workflow_dispatch:
inputs:
debug_enabled:
type: boolean
description: 'Run the build with tmate debugging enabled'
required: false
default: false
push:
branches:
- main
pull_request:
branches:
- main
schedule:
- cron: "0 0 * * 0,3"
name: Check Pharmpy development version
jobs:
run-tests:
runs-on: ${{ matrix.config.os }}
name: ${{ matrix.config.os }} (${{ matrix.config.r }})
strategy:
fail-fast: false
matrix:
config:
- {os: windows-2022, r: 'release'}
- {os: macOS-13, r: 'release'}
- {os: ubuntu-20.04, r: 'release', rspm: "https://packagemanager.rstudio.com/cran/__linux__/focal/latest"}
env:
R_REMOTES_NO_ERRORS_FROM_WARNINGS: true
RSPM: "https://packagemanager.rstudio.com/cran/__linux__/focal/latest"
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Checkout pharmr
uses: actions/checkout@v4
with:
path: pharmr_repo
- uses: ./pharmr_repo/.github/actions/setup-dependencies
- uses: ./pharmr_repo/.github/actions/setup-pharmr
with:
as-release: false
- uses: ./pharmr_repo/.github/actions/check-pharmr
- name: Debug session
uses: mxschmitt/action-tmate@v3
if: ${{ failure() && github.event_name == 'workflow_dispatch' && inputs.debug_enabled }}