Skip to content

Commit

Permalink
adding test output
Browse files Browse the repository at this point in the history
  • Loading branch information
aylapear committed Oct 30, 2023
1 parent 9de5167 commit ad0a71b
Showing 1 changed file with 19 additions and 13 deletions.
32 changes: 19 additions & 13 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ jobs:
# - {os: ubuntu-latest, r: 'oldrel-3'}
# - {os: ubuntu-latest, r: 'oldrel-4'}

- {os: ubuntu-latest, r: 'devel', http-user-agent: 'release'}
- {os: macos-latest, r: 'devel', http-user-agent: 'release'}

env:
Expand All @@ -59,18 +58,25 @@ jobs:
with:
extra-packages: any::rcmdcheck
needs: check

- name: Run tests
run: |
devtools::test()
shell: Rscript {0}

- uses: r-lib/actions/check-r-package@v2
with:
upload-snapshots: true

- name: action-slack
if: failure()
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
uses: 8398a7/action-slack@v3.0.0
with:
status: ${{ job.status }}
author_name: "github action: ${{github.workflow}}"
fields: repo, ref, commit, author, message
#
# - uses: r-lib/actions/check-r-package@v2
# with:
# upload-snapshots: true
#
# - name: action-slack
# if: failure()
# env:
# SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
# uses: 8398a7/action-slack@v3.0.0
# with:
# status: ${{ job.status }}
# author_name: "github action: ${{github.workflow}}"
# fields: repo, ref, commit, author, message

0 comments on commit ad0a71b

Please sign in to comment.