From 86f874c1fcb6a4498272a4a07ae5f947e066620e Mon Sep 17 00:00:00 2001 From: Rich FitzJohn Date: Mon, 24 Jul 2023 16:52:04 +0100 Subject: [PATCH 1/2] Update to cope with new lintr release --- .lintr | 1 + 1 file changed, 1 insertion(+) diff --git a/.lintr b/.lintr index 76ecb6b3..0c778269 100644 --- a/.lintr +++ b/.lintr @@ -1,4 +1,5 @@ linters: linters_with_defaults( + indentation_linter = NULL, object_length_linter = NULL, object_usage_linter = NULL, cyclocomp_linter = NULL From 81f40c1e901d36038461bff92913e065c1418101 Mon Sep 17 00:00:00 2001 From: Rich FitzJohn Date: Wed, 19 Jul 2023 16:56:35 +0100 Subject: [PATCH 2/2] Install outpack_server on gha --- .github/workflows/R-CMD-check.yaml | 8 ++++++++ .github/workflows/test-coverage.yaml | 4 ++++ 2 files changed, 12 insertions(+) diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index 5870d208..c762b057 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -42,6 +42,14 @@ jobs: http-user-agent: ${{ matrix.config.http-user-agent }} use-public-rspm: true + # This does take a minute or two to install, and we could cache + # it but that's not super easy while still allowing easy + # updating. Once things stabilise we might tag outpack server + # releases and then we can install and cache against that. + - name: setup server + run: | + cargo install --git https://github.com/mrc-ide/outpack_server --branch mrc-4364 + - uses: r-lib/actions/setup-r-dependencies@v2 with: extra-packages: any::rcmdcheck diff --git a/.github/workflows/test-coverage.yaml b/.github/workflows/test-coverage.yaml index c4cee67e..96f9ebe6 100644 --- a/.github/workflows/test-coverage.yaml +++ b/.github/workflows/test-coverage.yaml @@ -21,6 +21,10 @@ jobs: with: use-public-rspm: true + - name: setup server + run: | + cargo install --git https://github.com/mrc-ide/outpack_server --branch mrc-4364 + - uses: r-lib/actions/setup-r-dependencies@v2 with: extra-packages: any::covr