From 1e0e34353e65d039528aa6dd07a414ff3206cdaf Mon Sep 17 00:00:00 2001 From: Franciszek Walkowiak Date: Thu, 1 Aug 2024 09:57:01 +0200 Subject: [PATCH 1/6] chore: move revdepcheck to scheduled.yaml --- .github/workflows/on-demand.yaml | 12 ------------ .github/workflows/scheduled.yaml | 3 +++ 2 files changed, 3 insertions(+), 12 deletions(-) delete mode 100644 .github/workflows/on-demand.yaml diff --git a/.github/workflows/on-demand.yaml b/.github/workflows/on-demand.yaml deleted file mode 100644 index 02843bb3..00000000 --- a/.github/workflows/on-demand.yaml +++ /dev/null @@ -1,12 +0,0 @@ ---- -name: On-demand 🧑‍đŸ”Ŧ - -on: - schedule: - - cron: '45 3 * * 0' - workflow_dispatch: - -jobs: - revdepcheck: - name: revdepcheck ↩ī¸ - uses: insightsengineering/r.pkg.template/.github/workflows/revdepcheck.yaml@main diff --git a/.github/workflows/scheduled.yaml b/.github/workflows/scheduled.yaml index f2ddf686..7062cb5d 100644 --- a/.github/workflows/scheduled.yaml +++ b/.github/workflows/scheduled.yaml @@ -26,3 +26,6 @@ jobs: 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 c970af1a917a9672befc2601f31627d185fd92c5 Mon Sep 17 00:00:00 2001 From: Franciszek Walkowiak Date: Thu, 1 Aug 2024 10:20:37 +0200 Subject: [PATCH 2/6] 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 7062cb5d..61a50753 100644 --- a/.github/workflows/scheduled.yaml +++ b/.github/workflows/scheduled.yaml @@ -29,3 +29,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 6c0d36f29afe65f74495d4e856a3dc5df7dffe38 Mon Sep 17 00:00:00 2001 From: Franciszek Walkowiak Date: Thu, 1 Aug 2024 10:56:52 +0200 Subject: [PATCH 3/6] 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 a30e597e..08d6ae01 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -48,3 +48,7 @@ jobs: uses: insightsengineering/r.pkg.template/.github/workflows/test-coverage.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 8ca24eae6403b2da2e4616ca2c39189deabf1576 Mon Sep 17 00:00:00 2001 From: Franciszek Walkowiak Date: Thu, 1 Aug 2024 11:56:01 +0200 Subject: [PATCH 4/6] chore: enable non-CRAN unit test report --- .github/workflows/check.yaml | 5 +---- .github/workflows/docs.yaml | 2 ++ _pkgdown.yml | 2 ++ 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/check.yaml b/.github/workflows/check.yaml index 1572a710..d214c4f2 100644 --- a/.github/workflows/check.yaml +++ b/.github/workflows/check.yaml @@ -45,11 +45,8 @@ jobs: REPO_GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }} with: enforce-note-blocklist: true - 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 note-blocklist: | checking dependencies in R code .* NOTE checking R code for possible problems .* NOTE diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index 6fb74128..ee41f0bd 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -39,3 +39,5 @@ jobs: uses: insightsengineering/r.pkg.template/.github/workflows/pkgdown.yaml@main secrets: REPO_GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }} + with: + additional-unit-test-report-directories: unit-test-report-non-cran diff --git a/_pkgdown.yml b/_pkgdown.yml index dcefcfc3..7f468547 100644 --- a/_pkgdown.yml +++ b/_pkgdown.yml @@ -16,6 +16,8 @@ navbar: href: coverage-report/ - text: Unit test report href: unit-test-report/ + - text: Non-CRAN unit test report + href: unit-test-report-non-cran/ github: icon: fa-github href: https://github.com/insightsengineering/random.cdisc.data/ From 0d8c1fdc851218d1a74ffcdc2afdce7b5b1e7849 Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 1 Aug 2024 14:25:33 +0000 Subject: [PATCH 5/6] [skip roxygen] [skip vbump] Roxygen Man Pages Auto Update --- DESCRIPTION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DESCRIPTION b/DESCRIPTION index 6c40e005..129922c8 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -57,4 +57,4 @@ Encoding: UTF-8 Language: en-US LazyData: true Roxygen: list(markdown = TRUE) -RoxygenNote: 7.3.1 +RoxygenNote: 7.3.2 From e0d03dea42e20daf00a9fb3fa29d48c94e1c8009 Mon Sep 17 00:00:00 2001 From: Franciszek Walkowiak Date: Thu, 1 Aug 2024 17:06:30 +0200 Subject: [PATCH 6/6] 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 d214c4f2..ebe568d9 100644 --- a/.github/workflows/check.yaml +++ b/.github/workflows/check.yaml @@ -44,6 +44,8 @@ jobs: secrets: REPO_GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }} with: + additional-env-vars: | + NOT_CRAN=true enforce-note-blocklist: true concurrency-group: non-cran unit-test-report-directory: unit-test-report-non-cran