From 4b90eb9b82986da2db03b1a3242ba13bc7b63e0d Mon Sep 17 00:00:00 2001 From: Franciszek Walkowiak Date: Thu, 1 Aug 2024 09:58:09 +0200 Subject: [PATCH 1/7] chore: move revdepcheck to scheduled.yaml --- .github/workflows/{on-demand.yaml => scheduled.yaml} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/workflows/{on-demand.yaml => scheduled.yaml} (100%) diff --git a/.github/workflows/on-demand.yaml b/.github/workflows/scheduled.yaml similarity index 100% rename from .github/workflows/on-demand.yaml rename to .github/workflows/scheduled.yaml From cfc17ce117c1e94d0292fb0f27144a622d8adfa6 Mon Sep 17 00:00:00 2001 From: Franciszek Walkowiak Date: Thu, 1 Aug 2024 10:22:32 +0200 Subject: [PATCH 2/7] chore: add r-hub workflow --- .github/workflows/scheduled.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/scheduled.yaml b/.github/workflows/scheduled.yaml index 02843bb3..3d966098 100644 --- a/.github/workflows/scheduled.yaml +++ b/.github/workflows/scheduled.yaml @@ -10,3 +10,6 @@ jobs: revdepcheck: name: revdepcheck โ†ฉ๏ธ uses: insightsengineering/r.pkg.template/.github/workflows/revdepcheck.yaml@main + rhub: + name: R-hub ๐ŸŒ + uses: insightsengineering/r.pkg.template/.github/workflows/rhub.yaml@main From f0a37e2782a727f8aefc444809b692b1995965d6 Mon Sep 17 00:00:00 2001 From: Franciszek Walkowiak Date: Thu, 1 Aug 2024 10:31:08 +0200 Subject: [PATCH 3/7] chore: enable branch-cleanup workflow --- .github/workflows/scheduled.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/scheduled.yaml b/.github/workflows/scheduled.yaml index 3d966098..71e5d993 100644 --- a/.github/workflows/scheduled.yaml +++ b/.github/workflows/scheduled.yaml @@ -7,6 +7,11 @@ on: workflow_dispatch: jobs: + branch-cleanup: + name: Branch Cleanup ๐Ÿงน + uses: insightsengineering/r.pkg.template/.github/workflows/branch-cleanup.yaml@main + secrets: + REPO_GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }} revdepcheck: name: revdepcheck โ†ฉ๏ธ uses: insightsengineering/r.pkg.template/.github/workflows/revdepcheck.yaml@main From 70201aa1f97b6f3c27a2a260fdd9f6bb121f788f Mon Sep 17 00:00:00 2001 From: Franciszek Walkowiak Date: Thu, 1 Aug 2024 10:39:27 +0200 Subject: [PATCH 4/7] chore: enable verdepcheck workflow --- .github/workflows/scheduled.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/scheduled.yaml b/.github/workflows/scheduled.yaml index 71e5d993..d0cc5045 100644 --- a/.github/workflows/scheduled.yaml +++ b/.github/workflows/scheduled.yaml @@ -7,6 +7,20 @@ on: workflow_dispatch: jobs: + dependency-test: + strategy: + fail-fast: false + matrix: + test-strategy: ["min_cohort", "min_isolated", "release", "max"] + uses: insightsengineering/r.pkg.template/.github/workflows/verdepcheck.yaml@main + name: Dependency Test - ${{ matrix.test-strategy }} ๐Ÿ”ข + secrets: + REPO_GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }} + GCHAT_WEBHOOK: ${{ secrets.GCHAT_WEBHOOK }} + with: + strategy: ${{ matrix.test-strategy }} + additional-env-vars: | + PKG_SYSREQS_DRY_RUN=true branch-cleanup: name: Branch Cleanup ๐Ÿงน uses: insightsengineering/r.pkg.template/.github/workflows/branch-cleanup.yaml@main From 6ac240a1343b4237f23f80e7c8458cf9b546e03a Mon Sep 17 00:00:00 2001 From: Franciszek Walkowiak Date: Thu, 1 Aug 2024 10:58:50 +0200 Subject: [PATCH 5/7] chore: add wasm workflow --- .github/workflows/release.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index cf4277f1..cf7732ab 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -36,3 +36,7 @@ jobs: uses: insightsengineering/r.pkg.template/.github/workflows/release.yaml@main secrets: REPO_GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }} + wasm: + name: Build WASM packages ๐Ÿง‘โ€๐Ÿญ + needs: release + uses: insightsengineering/r.pkg.template/.github/workflows/wasm.yaml@main From 2d52fe93b6ef359f91442df976d993a8915addad Mon Sep 17 00:00:00 2001 From: Franciszek Walkowiak Date: Thu, 1 Aug 2024 11:57:58 +0200 Subject: [PATCH 6/7] chore: enable non-CRAN unit test report --- .github/workflows/check.yaml | 5 +---- .github/workflows/docs.yaml | 1 + 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/check.yaml b/.github/workflows/check.yaml index d392db22..c00d1367 100644 --- a/.github/workflows/check.yaml +++ b/.github/workflows/check.yaml @@ -34,11 +34,8 @@ jobs: secrets: REPO_GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }} with: - publish-unit-test-report-gh-pages: false - junit-xml-comparison: false concurrency-group: non-cran - disable-unit-test-reports: true - skip-r-cmd-install: true + unit-test-report-directory: unit-test-report-non-cran coverage: name: Coverage ๐Ÿ“” uses: insightsengineering/r.pkg.template/.github/workflows/test-coverage.yaml@main diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index d4f3d45d..9dbcfd04 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -41,3 +41,4 @@ jobs: REPO_GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }} with: default-landing-page: main + additional-unit-test-report-directories: unit-test-report-non-cran From f8ffc5dff0a2ef83d4ddd499a6a2bf4126be5cad Mon Sep 17 00:00:00 2001 From: Franciszek Walkowiak Date: Thu, 1 Aug 2024 17:08:19 +0200 Subject: [PATCH 7/7] chore: set NOT_CRAN variable --- .github/workflows/check.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/check.yaml b/.github/workflows/check.yaml index c00d1367..6c25abec 100644 --- a/.github/workflows/check.yaml +++ b/.github/workflows/check.yaml @@ -34,6 +34,8 @@ jobs: secrets: REPO_GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }} with: + additional-env-vars: | + NOT_CRAN=true concurrency-group: non-cran unit-test-report-directory: unit-test-report-non-cran coverage: