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

Set core.autocrlf on windows GHA #28

Merged
merged 1 commit into from
Jun 19, 2024
Merged
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
4 changes: 4 additions & 0 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ jobs:
R_KEEP_PKG_SOURCE: yes

steps:
- name: Configure git
if: runner.os == 'Windows'
run: git config --global core.autocrlf false

- uses: actions/checkout@v4

- uses: r-lib/actions/setup-pandoc@v2
Expand Down
11 changes: 0 additions & 11 deletions tests/testthat/test-gps_traces.R
Original file line number Diff line number Diff line change
Expand Up @@ -60,17 +60,6 @@ test_that("osm_get_points_gps works", {


test_that("edit gpx works", {
skip_on_os("windows") # TODO: issue in httptest2? different mock file name in windows
# https://github.com/nealrichardson/httptest2/issues/42
# Error in `stop_request(req)`: An unexpected request was made:
# POST https://master.apis.dev.openstreetmap.org/api/0.6/gpx/create Multipart form:
# file = File: f42901c4e0e077e532e417da5224df67
# description = Test create gpx with osmapiR.
# tags = testing, osmapiR
# visibility = private
#
# Expected mock file: osm.org/api/0.6/gpx/create-b3940a-POST.*

gpx_path <- test_path("sample_files", "sample.gpx")

with_mock_dir("mock_edit_gpx", {
Expand Down
Loading