Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
walkowif committed Jun 5, 2024
1 parent 16ea730 commit fd78178
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/custom_command.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
on:
push:
branches:
- add-custom-script-workflow
- add-custom-command-workflow
workflow_dispatch:
inputs:
command-to-run:
Expand Down
22 changes: 10 additions & 12 deletions .github/workflows/on_push.yaml
Original file line number Diff line number Diff line change
@@ -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: |
Expand Down

0 comments on commit fd78178

Please sign in to comment.