Skip to content
This repository was archived by the owner on Apr 29, 2026. It is now read-only.

Commit e62895c

Browse files
Merge pull request #11 from villegar/master
New test suite deployment
2 parents 68b6cfe + 9c732f7 commit e62895c

117 files changed

Lines changed: 97541 additions & 2985 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.html

.github/workflows/pkgdown.yaml

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
2+
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
3+
on:
4+
push:
5+
branches: [main, master]
6+
pull_request:
7+
release:
8+
types: [published]
9+
workflow_dispatch:
10+
11+
name: pkgdown.yaml
12+
13+
permissions: read-all
14+
15+
jobs:
16+
pkgdown:
17+
runs-on: ubuntu-latest
18+
# Only restrict concurrency for non-PR jobs
19+
concurrency:
20+
group: pkgdown-${{ github.event_name != 'pull_request' || github.run_id }}
21+
env:
22+
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
23+
permissions:
24+
contents: write
25+
steps:
26+
- uses: actions/checkout@v4
27+
28+
- uses: r-lib/actions/setup-pandoc@v2
29+
30+
- uses: r-lib/actions/setup-r@v2
31+
with:
32+
use-public-rspm: true
33+
34+
- uses: r-lib/actions/setup-r-dependencies@v2
35+
with:
36+
extra-packages: |
37+
any::pkgdown
38+
cran::glue
39+
cran::purrr
40+
cran::readr
41+
cran::stringr
42+
needs: website
43+
44+
- name: Build site
45+
run: |
46+
Rscript --verbose --vanilla source/render_docs.R docs docs TRUE
47+
48+
- name: Deploy to GitHub pages 🚀
49+
if: github.event_name != 'pull_request'
50+
uses: JamesIves/github-pages-deploy-action@v4.6.7
51+
with:
52+
clean: true
53+
branch: gh-pages
54+
folder: docs

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
.Rproj.user
2+
.Rhistory
3+
.RData
4+
.Ruserdata

README.Rmd

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
output: github_document
3+
---
4+
5+
<!-- README.md is generated from README.Rmd. Please edit that file -->
6+
7+
```{r, include = FALSE}
8+
knitr::opts_chunk$set(
9+
collapse = TRUE,
10+
comment = "#>"
11+
)
12+
```
13+
14+
<a href='https://datashield.org'><img src='https://i0.wp.com/datashield.org/wp-content/uploads/2024/07/DS-logo-A4.png' alt='DataSHIELD logo' align='right' height=70px/></a>
15+
16+
# DataSHIELD packages tests' status
17+
18+
<!-- badges: start -->
19+
[![`dsbase` test suite](https://github.com/villegar/dsBase/actions/workflows/dsBase_test_suite.yaml/badge.svg)](https://github.com/villegar/dsBase/actions/workflows/dsBase_test_suite.yaml)
20+
<!-- badges: end -->
21+
22+
This repository contains scripts to aggregate ([source/parse_test_report.R]("source/parse_test_report.R")) results from [`{testthat}`](https://cran.r-project.org/package=testthat) and [`{covr}`](https://cran.r-project.org/package=covr) packages (see the workflow: [https://github.com/datashield/.github](https://github.com/datashield/.github)). There is a script to render ([source/render_docs.R]("source/render_docs.R")) the results committed by the pipeline to the [logs/](logs/) directory. Also, a template for a Quarto report ([source/test_report.qmd](source/test_report.qmd)) to present the results of the tests in a dashboard.
23+
24+
The workflow follows the following stream:
25+
26+
`Repository with unit tests` >>> `Repository with results` >>> `GitHub pages`

README.md

Lines changed: 21 additions & 10 deletions
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)