type_summary improvements
#1475
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Workflow derived from https://eddelbuettel.github.io/r-ci/ | |
| # Uses r-ci + r2u for fast (binary) package installation. Both jobs run in | |
| # containers that already bundle r2u (rocker/r2u4ci for release -- the | |
| # CI-flavoured image recommended by r-ci, with curl etc. preinstalled -- and | |
| # rocker/drd for devel, built FROM rocker/r2u), so neither pays the bare-runner | |
| # r2u mirror-setup cost (which can stall if the upstream r2u mirror is down). | |
| on: | |
| push: | |
| branches: [main, master] | |
| pull_request: | |
| branches: [main, master] | |
| name: ci | |
| jobs: | |
| ci: | |
| runs-on: ${{ matrix.os }} | |
| container: ${{ matrix.container }} | |
| name: ${{ matrix.name }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - { name: r-release, os: ubuntu-latest, container: rocker/r2u4ci } | |
| - { name: r-devel, os: ubuntu-latest, container: rocker/drd } | |
| env: | |
| GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} | |
| R_KEEP_PKG_SOURCE: yes | |
| NOT_CRAN: true | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Setup | |
| uses: eddelbuettel/github-actions/r-ci@master | |
| - name: Dependencies | |
| run: ./run.sh install_all | |
| - name: Test | |
| run: ./run.sh run_tests | |
| - name: Upload snapshot review (on failure) | |
| if: failure() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: tinysnapshot-review-${{ matrix.name }} | |
| path: | | |
| *.Rcheck/**/_tinysnapshot_review/** | |
| *.Rcheck/00check.log | |
| if-no-files-found: ignore | |
| retention-days: 7 |