From c099f020d8ca9be85d0225c1c55a19d1a5c80017 Mon Sep 17 00:00:00 2001 From: Sebastian Funk Date: Wed, 24 May 2023 10:16:27 +0100 Subject: [PATCH 1/4] limit touchstone to stan model changes --- .github/workflows/touchstone-receive.yaml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/touchstone-receive.yaml b/.github/workflows/touchstone-receive.yaml index 7e961b062..c972444ce 100644 --- a/.github/workflows/touchstone-receive.yaml +++ b/.github/workflows/touchstone-receive.yaml @@ -7,15 +7,11 @@ concurrency: on: pull_request: paths: - # Directories with source code and benchmarking code - - "inst/**" - - "R/**" - - "src/**" + # Directories with stan code and benchmarking code + - "inst/stan/**" - "touchstone/**" # Benchmarking config file - ".github/workflows/touchstone-*.yaml" - # Package metadata - - DESCRIPTION jobs: prepare: From 847c2e345833fc7ff7f2dd65fe91994405f5ee7d Mon Sep 17 00:00:00 2001 From: Sebastian Funk Date: Wed, 24 May 2023 11:08:12 +0100 Subject: [PATCH 2/4] add news item and increase dev version --- DESCRIPTION | 2 +- NEWS.md | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/DESCRIPTION b/DESCRIPTION index 9779ecdde..c56def61a 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -2,7 +2,7 @@ Type: Package Package: EpiNow2 Title: Estimate Real-Time Case Counts and Time-Varying Epidemiological Parameters -Version: 1.3.6.5000 +Version: 1.3.6.6000 Authors@R: c(person(given = "Sam", family = "Abbott", diff --git a/NEWS.md b/NEWS.md index e90d8d73f..66329f2e8 100644 --- a/NEWS.md +++ b/NEWS.md @@ -15,6 +15,7 @@ This release is in development. For a stable release install 1.3.5 from CRAN. * Reviewed the example in `calc_backcalc_data()` to call `calc_backcalc_data()` instead of `create_gp_data()`. By @jamesmbaazam in #388 and reviewed by @seabbs. * Improved compilation times by reducing the number of distinct stan models and deprecated `tune_inv_gamma()`. By @sbfnk in #394 and reviewed by @seabbs. +* Changed touchstone settings so that benchmarks are only performed if the stan model is changed. By @sbfnk in #400. # EpiNow2 1.3.5 From 9468e56073ac791f274dc79a80d50bda1c7313d6 Mon Sep 17 00:00:00 2001 From: Sebastian Funk Date: Wed, 7 Jun 2023 14:26:19 +0100 Subject: [PATCH 3/4] add manual trigger --- .github/workflows/touchstone-receive.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/touchstone-receive.yaml b/.github/workflows/touchstone-receive.yaml index c972444ce..535a5f8e5 100644 --- a/.github/workflows/touchstone-receive.yaml +++ b/.github/workflows/touchstone-receive.yaml @@ -12,6 +12,8 @@ on: - "touchstone/**" # Benchmarking config file - ".github/workflows/touchstone-*.yaml" + # Manual trigger + - ".benchmark" jobs: prepare: From 51ca90ea0847636eb66e3a0fa081939178f18e02 Mon Sep 17 00:00:00 2001 From: Sebastian Funk Date: Wed, 7 Jun 2023 14:27:07 +0100 Subject: [PATCH 4/4] update news item with review --- NEWS.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NEWS.md b/NEWS.md index 66329f2e8..0ae6438a7 100644 --- a/NEWS.md +++ b/NEWS.md @@ -15,7 +15,7 @@ This release is in development. For a stable release install 1.3.5 from CRAN. * Reviewed the example in `calc_backcalc_data()` to call `calc_backcalc_data()` instead of `create_gp_data()`. By @jamesmbaazam in #388 and reviewed by @seabbs. * Improved compilation times by reducing the number of distinct stan models and deprecated `tune_inv_gamma()`. By @sbfnk in #394 and reviewed by @seabbs. -* Changed touchstone settings so that benchmarks are only performed if the stan model is changed. By @sbfnk in #400. +* Changed touchstone settings so that benchmarks are only performed if the stan model is changed. By @sbfnk in #400 and reviewed by @seabbs. # EpiNow2 1.3.5