Update README.md #8
This file contains 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: CI | |
on: [push] | |
jobs: | |
test-and-docs: | |
name: Julia ${{ matrix.julia-version }} - ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-22.04] | |
julia-version: ['1.9'] | |
r-version: ['4.2.1'] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: r-lib/actions/setup-r@v2 | |
with: | |
r-version: ${{ matrix.r-version }} | |
- uses: julia-actions/setup-julia@latest | |
with: | |
version: ${{ matrix.julia-version }} | |
- uses: julia-actions/julia-runtest@v1 | |
env: | |
LD_LIBRARY_PATH: /opt/R/${{ matrix.r-version }}/lib/R/lib | |
- uses: julia-actions/julia-processcoverage@v1 | |
- uses: codecov/codecov-action@v3 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
file: lcov.info | |
- uses: julia-actions/julia-docdeploy@v1 | |
if: ${{ matrix.os == 'ubuntu-22.04' && matrix.julia-version == '1.9' }} # only run docs in one env | |
env: | |
LD_LIBRARY_PATH: /opt/R/${{ matrix.r-version }}/lib/R/lib | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # If authenticating with GitHub Actions token | |
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} # If authenticating with SSH deploy key |