Skip to content

update github actions #13

update github actions

update github actions #13

Workflow file for this run

# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
on:
workflow_dispatch:
push:
branches: [main, master]
pull_request:
branches: [main, master]
name: R-CMD-check
jobs:
R-CMD-check:
runs-on: ubuntu-latest
name: ${{ matrix.browser }} (${{ matrix.version }})
strategy:
fail-fast: false
matrix:
browser: [chrome, firefox]
version: [2.53.1, 3.141.59, latest]
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
R_KEEP_PKG_SOURCE: yes
services:
selenium:
image: selenium/standalone-${{ matrix.browser }}:${{ matrix.version }}
ports:
- 4444:4444
volumes:
- /dev/shm:/dev/shm
test-server:
image: juyeongkim/test-server
steps:
- uses: actions/checkout@v3
- uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true
- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::rcmdcheck
needs: check
- uses: r-lib/actions/check-r-package@v2
with:
upload-snapshots: true
env:
SELENIUM_BROWSER: ${{ matrix.browser }}
TEST_SERVER: http://test-server:8080