Skip to content

Commit d47c99d

Browse files
authored
Merge pull request #13 from pythonhealthdatascience/dev
Dev
2 parents 27e7dc4 + 70db468 commit d47c99d

6 files changed

Lines changed: 91 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). Dates formatted as YYYY-MM-DD as per [ISO standard](https://www.iso.org/iso-8601-date-and-time-format.html).
7+
8+
## v0.1.0 - 2026-01-20
9+
10+
🌱 Initial release of the website.
11+
12+
### Added
13+
14+
* Website with pages:
15+
* Homepage
16+
* When and why to run tests
17+
* Case study
18+
* How to write a basic test
19+
* How to run tests
20+
* Parametrising tests
21+
* Unit tests
22+
* Functional tests
23+
* Back tests
24+
* What was the point? Let's break it and see!
25+
* Test coverage
26+
* Running tests via GitHub actions
27+
* Example repositories
28+
* Python and R environments for the site.
29+
* GitHub actions to create docker, render and deploy site, and run python and R tests.
30+
* Example python and R code used within website in `examples/`.
31+
* Other research artefacts (e.g., `tools/`, `CONTRIBUTING.md`, `README.md`).

CITATION.cff

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# This CITATION.cff file was generated with cffinit.
2+
# Visit https://bit.ly/cffinit to generate yours today!
3+
4+
cff-version: 1.2.0
5+
title: 'HDR UK Futures RSE: Testing in Research Workflows'
6+
message: >-
7+
If you use this software, please cite it using the
8+
metadata from this file.
9+
type: software
10+
authors:
11+
- given-names: Amy
12+
family-names: Heather
13+
email: a.heather2@exeter.ac.uk
14+
affiliation: University of Exeter
15+
orcid: 'https://orcid.org/0000-0002-6596-3479'
16+
- given-names: Tom
17+
family-names: Monks
18+
email: t.m.w.monks@exeter.ac.uk
19+
affiliation: University of Exeter
20+
orcid: 'https://orcid.org/0000-0003-2631-4481'
21+
repository-code: 'https://github.com/pythonhealthdatascience/hdruk_tests/'
22+
url: 'https://pythonhealthdatascience.github.io/hdruk_tests/'
23+
abstract: >-
24+
Materials supporting our HDR UK Futures training videos on
25+
testing.
26+
keywords:
27+
- tests
28+
- python
29+
- r
30+
license: MIT
31+
version: 0.1.0
32+
date-released: '2026-01-20'

README.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,19 @@ You can view the website here: <https://pythonhealthdatascience.github.io/hdruk_
66

77
[![](images/website_screenshot.png)](https://pythonhealthdatascience.github.io/hdruk_tests/)
88

9-
For an explanation of how this site is set up and quality-controlled, please see `CONTRIBUTING.md`.
9+
For an explanation of how this site is set up and quality-controlled, please see `CONTRIBUTING.md`.
10+
11+
## Licence
12+
13+
This work is shared:
14+
15+
* Code licence - MIT
16+
* Text licence - CC-BY-SA 4.0
17+
18+
## Citation
19+
20+
To cite this work, see the `CITATION.cff` file in this repository or use the "Cite this repository" button on GitHub.
21+
22+
## Funding
23+
24+
This project is supported by the Medical Research Council [grant number MR/Z503915/1].
84.2 KB
Loading

pages/github_actions.qmd

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,17 @@ The tests all pass in the end-
262262

263263
::: {.r-content}
264264

265-
TODO
265+
* Open the [GitHub repository](https://github.com/pythonhealthdatascience/hdruk_tests).
266+
* Go to the [Actions](https://github.com/pythonhealthdatascience/hdruk_tests/actions) tab.
267+
* Click on the [r_tests](https://github.com/pythonhealthdatascience/hdruk_tests/actions/workflows/r_tests.yaml) action.
268+
* View the [workflow YAML](https://github.com/pythonhealthdatascience/hdruk_tests/blob/main/.github/workflows/r_tests.yaml).
269+
* Trigger the action via `workflow_dispatch`, running it from the `dev` branch.
270+
* [View the running test](https://github.com/pythonhealthdatascience/hdruk_tests/actions/runs/21166564091) - see they are installing the packages, getting ready to run tests.
271+
272+
{{< video /videos/run_tests_r_githubactions.webm >}}
273+
274+
The tests all pass in the end-
275+
276+
![](/images/run_tests_r_githubactions.png)
266277

267278
:::
1.6 MB
Binary file not shown.

0 commit comments

Comments
 (0)