v1.1.2 #163
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
| name: Bioconductor Check | |
| on: | |
| push: | |
| branches: [main, default] | |
| pull_request: | |
| branches: [main, default] | |
| release: | |
| types: [published] | |
| branches: [main, default] | |
| workflow_dispatch: | |
| branches: [main, default] | |
| jobs: | |
| bioccheck: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest] | |
| r-version: ['4.5.0'] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up R ${{ matrix.r-version }} | |
| uses: r-lib/actions/setup-r@v2 | |
| with: | |
| r-version: ${{ matrix.r-version }} | |
| - name: Install package dependencies | |
| uses: r-lib/actions/setup-r-dependencies@v2 | |
| with: | |
| extra-packages: rcmdcheck | |
| needs: check | |
| - name: Install BiocManager | |
| run: Rscript -e 'install.packages("BiocManager", repos="https://cloud.r-project.org")' | |
| - name: Install BiocCheck | |
| run: Rscript -e 'BiocManager::install("BiocCheck")' | |
| - name: Run BiocCheck | |
| run: BiocCheck::BiocCheck(".", quit_with_status=TRUE) | |
| shell: Rscript {0} |