Skip to content

fix test so they can run on the installed package #10

fix test so they can run on the installed package

fix test so they can run on the installed package #10

Workflow file for this run

---
name: Test 📦
on:
pull_request:
types:
- opened
- synchronize
- reopened
- ready_for_review
branches:
- main
push:
branches:
- main
workflow_call:
concurrency:
group: test-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
test:
name: ${{ vars.CI_IMAGE }}
runs-on: ubuntu-latest
container:
image: ${{ vars.CI_IMAGE }}
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Checkout project ⬇️
uses: actions/checkout@v4
- name: Checkout Repo Templates
uses: actions/checkout@v4
with:
ref: main
repository: boehringer-ingelheim/dv.templates
path: templates
- name: Install package dependencies 📄
uses: boehringer-ingelheim/dv.templates/.github/actions/dependencies@main
- name: Test 📦
run: Rscript templates/scripts/test.R
- name: Archive validation results
uses: actions/upload-artifact@v4
with:
name: val_results
path: inst/validation/results