From fd781780a883a4ae906c64104222f5195dd99f42 Mon Sep 17 00:00:00 2001 From: Franciszek Walkowiak Date: Wed, 5 Jun 2024 14:04:49 +0200 Subject: [PATCH] Update --- .github/workflows/custom_command.yaml | 2 +- .github/workflows/on_push.yaml | 22 ++++++++++------------ 2 files changed, 11 insertions(+), 13 deletions(-) diff --git a/.github/workflows/custom_command.yaml b/.github/workflows/custom_command.yaml index 43c0fa44e..3d4957785 100644 --- a/.github/workflows/custom_command.yaml +++ b/.github/workflows/custom_command.yaml @@ -3,7 +3,7 @@ on: push: branches: - - add-custom-script-workflow + - add-custom-command-workflow workflow_dispatch: inputs: command-to-run: diff --git a/.github/workflows/on_push.yaml b/.github/workflows/on_push.yaml index 0f73e518a..abf17c517 100644 --- a/.github/workflows/on_push.yaml +++ b/.github/workflows/on_push.yaml @@ -1,52 +1,50 @@ on: - push: - paths-ignore: - - 'misc/**' + workflow_dispatch: name: On Push jobs: - + testthat: runs-on: ubuntu-latest container: image: ghcr.io/${{ github.repository_owner }}/rbmi:latest steps: - + - name: Checkout uses: actions/checkout@v3 - + - name: Build src uses: ./.github/actions/build-src - + - name: testthat run: | options(crayon.enabled = TRUE, cli.dynamic = FALSE) devtools::test(stop_on_failure = TRUE, reporter = testthat::CheckReporter) shell: Rscript {0} - + document: runs-on: ubuntu-latest container: image: ghcr.io/${{ github.repository_owner }}/rbmi:latest steps: - + - name: Checkout uses: actions/checkout@v3 - + - name: Build src uses: ./.github/actions/build-src with: refresh: false - + - name: Document Code run: | options(crayon.enabled = TRUE, cli.dynamic = FALSE) devtools::document() shell: Rscript {0} - + - name: Check Is Clean shell: bash run: |