From 6a5d4beedb982427972878592353bae00fa5dedd Mon Sep 17 00:00:00 2001 From: Franciszek Walkowiak Date: Thu, 1 Aug 2024 09:57:55 +0200 Subject: [PATCH 1/5] 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 02843bb32..000000000 --- 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 f2ddf6862..7062cb5d2 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 17e22f96e080e363e5ab52eb21c63ec08edf88b5 Mon Sep 17 00:00:00 2001 From: Franciszek Walkowiak Date: Thu, 1 Aug 2024 10:22:09 +0200 Subject: [PATCH 2/5] 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 7062cb5d2..61a50753e 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 74321edd210daae9fa9aeaff980c44656467264c Mon Sep 17 00:00:00 2001 From: Franciszek Walkowiak Date: Thu, 1 Aug 2024 10:58:27 +0200 Subject: [PATCH 3/5] 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 226473ce9..e56418bb8 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -52,3 +52,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 eda486bdd9147ba452e4bd3f02708ddb90b486d0 Mon Sep 17 00:00:00 2001 From: Franciszek Walkowiak Date: Thu, 1 Aug 2024 11:57:35 +0200 Subject: [PATCH 4/5] chore: enable non-CRAN unit test report --- .github/workflows/check.yaml | 5 +---- .github/workflows/docs.yaml | 1 + _pkgdown.yml | 2 ++ 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/check.yaml b/.github/workflows/check.yaml index b84e27389..2f2ff0674 100644 --- a/.github/workflows/check.yaml +++ b/.github/workflows/check.yaml @@ -50,11 +50,8 @@ jobs: additional-env-vars: | _R_CHECK_EXAMPLE_TIMING_THRESHOLD_=10 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 9b7a7e54e..57ae80042 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: latest-tag + additional-unit-test-report-directories: unit-test-report-non-cran diff --git a/_pkgdown.yml b/_pkgdown.yml index 5dd0529d2..60b5bef06 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/teal.slice From 22f7ec22c405a0bf968ed908a315607ce2bae0bb Mon Sep 17 00:00:00 2001 From: Franciszek Walkowiak Date: Thu, 1 Aug 2024 17:07:57 +0200 Subject: [PATCH 5/5] chore: set NOT_CRAN variable --- .github/workflows/check.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/check.yaml b/.github/workflows/check.yaml index 2f2ff0674..79b1f8b6e 100644 --- a/.github/workflows/check.yaml +++ b/.github/workflows/check.yaml @@ -49,6 +49,7 @@ jobs: with: additional-env-vars: | _R_CHECK_EXAMPLE_TIMING_THRESHOLD_=10 + NOT_CRAN=true enforce-note-blocklist: true concurrency-group: non-cran unit-test-report-directory: unit-test-report-non-cran