Use R 4.6.0 for macOS CI #1410
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
| # Run CI for R based on copy of https://eddelbuettel.github.io/r-ci/ | |
| name: ci | |
| on: | |
| push: | |
| pull_request: | |
| env: | |
| _R_CHECK_FORCE_SUGGESTS_: "FALSE" | |
| jobs: | |
| ci: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - {os: macOS-latest, r: '4.6.0' } | |
| # The value of `r` for Ubuntu is a placeholder that has no effect. R | |
| # is installed from r2u via APT, and thus corresponds to the current | |
| # release version | |
| - {os: ubuntu-latest, r: 'release'} | |
| runs-on: ${{ matrix.os }} | |
| name: ${{ matrix.os }} (${{ matrix.r }}) | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: System | |
| run: | | |
| sysctl -a | |
| echo "RVER=${{ matrix.r}}" >> $GITHUB_ENV | |
| if: ${{ matrix.os == 'macOS-latest' }} | |
| - name: Bootstrap | |
| run: ./.github/r-ci.sh bootstrap | |
| - name: Dependencies | |
| run: ./.github/r-ci.sh install_all | |
| - name: Test | |
| run: ./.github/r-ci.sh run_tests | |
| - name: Show install log | |
| run: cat $HOME/work/TileDB-R/TileDB-R/tiledb.Rcheck/00install.out | |
| if: failure() | |
| - name: Show test log | |
| run: cat $HOME/work/TileDB-R/TileDB-R/tiledb.Rcheck/00check.log | |
| if: failure() | |
| #- name: Coverage | |
| # if: ${{ matrix.os == 'ubuntu-latest' }} | |
| # run: ./.github/r-ci.sh coverage |