From 26306a663a19f055a23304a721985f085b0e212b Mon Sep 17 00:00:00 2001 From: walkowif <59475134+walkowif@users.noreply.github.com> Date: Thu, 22 Aug 2024 14:06:16 +0200 Subject: [PATCH] Workflow propagations (#110) Propagation of: * https://github.com/insightsengineering/idr-tasks/issues/781 * https://github.com/insightsengineering/idr-tasks/issues/785 * https://github.com/insightsengineering/idr-tasks/issues/793 * https://github.com/insightsengineering/idr-tasks/issues/800 * https://github.com/insightsengineering/idr-tasks/issues/802 --------- Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> --- .github/workflows/on-demand.yaml | 12 ------------ .github/workflows/release.yaml | 4 ++++ .github/workflows/scheduled.yaml | 25 +++++++++++++++++++++++++ DESCRIPTION | 2 +- 4 files changed, 30 insertions(+), 13 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/release.yaml b/.github/workflows/release.yaml index 509adff1..cd44bebb 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -36,3 +36,7 @@ jobs: default-landing-page: latest-tag secrets: REPO_GITHUB_TOKEN: ${{ secrets.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 f1f49cb7..f9c1bc2d 100644 --- a/.github/workflows/scheduled.yaml +++ b/.github/workflows/scheduled.yaml @@ -7,8 +7,33 @@ 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 + secrets: + REPO_GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }} cran-status: name: CRAN Status Monitor ๐Ÿ“บ uses: insightsengineering/r.pkg.template/.github/workflows/cran-status.yaml@main with: issue-assignees: "niessl,danielinteractive" + 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 diff --git a/DESCRIPTION b/DESCRIPTION index 7ed9f58f..9794d085 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -46,4 +46,4 @@ Encoding: UTF-8 Language: en-US LazyData: true Roxygen: list(markdown = TRUE) -RoxygenNote: 7.2.3 +RoxygenNote: 7.3.2