Commit 2d041b6
authored
Update test suite and ci (#160)
* Bump vcr version requirement to >= 2.0.0
- Replace rprojroot-based cassette_dir() with vcr::vcr_test_path()
- Remove filter_sensitive_data: vcr 2.x auto-strips Authorization headers
from cassettes
- Replace log/log_opts config with vcr_configure_log()
* Fix Waterbutler conflict error detection
Waterbutler no longer includes a 'code' key in conflict (409) error
responses. The response body now contains only 'message' and 'data'
(flat file attributes). Update .process_wb_response() to detect errors
by the presence of a 'message' key in addition to the previous 'code'
key check.
* Re-record all 75 vcr cassettes against test.osf.io
* Add dev version
* Update NEWS.md
* Update actions/checkout to v4
* Impose read-all permissions on gha workflow
* Specify build args in check-r-package
* Stop using deprecated testthat patterns
- context() is long gone
- Replace setup/teardown w/ modern withr functions
- Replace use_cassette() with vcr::local_cassette()
* Add withr to suggests
* Specify winslash for consistent file seps on windows1 parent 67315ad commit 2d041b6
158 files changed
Lines changed: 10308 additions & 11710 deletions
File tree
- .github/workflows
- R
- tests
- cassettes
- directories
- files
- html-entity-encoding
- nodes
- uploading-multiple-files
- uploading-single-files
- testthat
- cassettes
- directories
- files
- html-entity-encoding
- nodes
- uploading-multiple-files
- uploading-single-files
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
10 | 12 | | |
11 | 13 | | |
12 | 14 | | |
| |||
18 | 20 | | |
19 | 21 | | |
20 | 22 | | |
21 | | - | |
| 23 | + | |
22 | 24 | | |
23 | 25 | | |
24 | 26 | | |
| |||
31 | 33 | | |
32 | 34 | | |
33 | 35 | | |
34 | | - | |
| 36 | + | |
35 | 37 | | |
36 | 38 | | |
37 | 39 | | |
| |||
49 | 51 | | |
50 | 52 | | |
51 | 53 | | |
| 54 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
| 50 | + | |
50 | 51 | | |
51 | 52 | | |
52 | 53 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
1 | 12 | | |
2 | 13 | | |
3 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
70 | 64 | | |
71 | 65 | | |
72 | 66 | | |
73 | 67 | | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
74 | 73 | | |
75 | 74 | | |
76 | 75 | | |
| |||
Lines changed: 103 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments