Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update github actions #284

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 9 additions & 6 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Workflow derived from https://github.com/r-lib/actions/tree/master/examples
# 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:
Expand Down Expand Up @@ -36,17 +36,20 @@ jobs:
image: juyeongkim/test-server

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- uses: r-lib/actions/setup-r@v1
- uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true

- uses: r-lib/actions/setup-r-dependencies@v1
- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: rcmdcheck
extra-packages: any::rcmdcheck
needs: check

- uses: r-lib/actions/check-r-package@v1
- uses: r-lib/actions/check-r-package@v2
with:
upload-snapshots: true
env:
SELENIUM_BROWSER: ${{ matrix.browser }}
TEST_SERVER: http://test-server:8080
2 changes: 1 addition & 1 deletion tests/testthat/test-errorHandler.R
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ test_that("canGetHttrError", {
dumRD <- remoteDriver(port = 9999L)
expect_error(
dumRD$open(silent = TRUE),
"Undefined error in httr call. httr output: Failed to connect to localhost port 9999: Connection refused"
"Undefined error in httr call. httr output: Failed to connect to localhost port 9999 after 0 ms: Connection refused"
)
})

Expand Down
Loading