From 87e930cd17c9edddd73966bec8c8b2f0670b8d60 Mon Sep 17 00:00:00 2001 From: walkowif <59475134+walkowif@users.noreply.github.com> Date: Tue, 6 Aug 2024 19:14:24 +0200 Subject: [PATCH] Workflow propagations (#1208) Signed-off-by: walkowif <59475134+walkowif@users.noreply.github.com> Co-authored-by: Pawel Rucki <12943682+pawelru@users.noreply.github.com> Co-authored-by: Marcin <133694481+m7pr@users.noreply.github.com> --- .github/workflows/check.yaml | 7 +++---- .github/workflows/docs.yaml | 1 + .github/workflows/on-demand.yaml | 12 ------------ .github/workflows/release.yaml | 4 ++++ .github/workflows/scheduled.yaml | 20 ++++++++++++++++++++ _pkgdown.yml | 2 ++ 6 files changed, 30 insertions(+), 16 deletions(-) delete mode 100644 .github/workflows/on-demand.yaml diff --git a/.github/workflows/check.yaml b/.github/workflows/check.yaml index a9fe73dc93..2a7dbd5e3e 100644 --- a/.github/workflows/check.yaml +++ b/.github/workflows/check.yaml @@ -47,12 +47,11 @@ jobs: secrets: REPO_GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }} with: + additional-env-vars: | + NOT_CRAN=true 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 9b7a7e54ec..57ae800429 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/.github/workflows/on-demand.yaml b/.github/workflows/on-demand.yaml deleted file mode 100644 index 02843bb32f..0000000000 --- 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/release.yaml b/.github/workflows/release.yaml index 226473ce99..e56418bb83 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 diff --git a/.github/workflows/scheduled.yaml b/.github/workflows/scheduled.yaml index f2ddf68626..eb071abe25 100644 --- a/.github/workflows/scheduled.yaml +++ b/.github/workflows/scheduled.yaml @@ -26,3 +26,23 @@ 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 + rhub: + name: R-hub 🌐 + uses: insightsengineering/r.pkg.template/.github/workflows/rhub.yaml@main + with: + lookup-refs: | + insightsengineering/teal + insightsengineering/teal.transform + insightsengineering/tern + insightsengineering/rlistings + insightsengineering/rtables + insightsengineering/teal.code + insightsengineering/teal.data + insightsengineering/teal.logger + insightsengineering/teal.reporter + insightsengineering/teal.widgets + insightsengineering/tern.gee + insightsengineering/tern.mmrm diff --git a/_pkgdown.yml b/_pkgdown.yml index 83d019b44a..59d4b30cfd 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.modules.clinical