Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit340c9e3

Browse files
committed
usethis::use_tidy_github_actions()
1 parent378e442 commit340c9e3

File tree

3 files changed

+6
-8
lines changed

3 files changed

+6
-8
lines changed

‎.github/workflows/R-CMD-check.yaml‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ on:
88
push:
99
branches:[main, master]
1010
pull_request:
11-
branches:[main, master]
1211
workflow_dispatch:
1312

1413
name:R-CMD-check.yaml
@@ -48,7 +47,6 @@ jobs:
4847
-uses:r-lib/actions/setup-pandoc@v2
4948

5049
-uses:r-lib/actions/setup-r@v2
51-
id:setup-r
5250
with:
5351
r-version:${{ matrix.config.r }}
5452
http-user-agent:${{ matrix.config.http-user-agent }}

‎.github/workflows/pkgdown.yaml‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ on:
44
push:
55
branches:[main, master]
66
pull_request:
7-
branches:[main, master]
87
release:
98
types:[published]
109
workflow_dispatch:

‎.github/workflows/test-coverage.yaml‎

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ on:
44
push:
55
branches:[main, master]
66
pull_request:
7-
branches:[main, master]
87

98
name:test-coverage.yaml
109

@@ -35,14 +34,16 @@ jobs:
3534
clean = FALSE,
3635
install_path = file.path(normalizePath(Sys.getenv("RUNNER_TEMP"), winslash = "/"), "package")
3736
)
37+
print(cov)
3838
covr::to_cobertura(cov)
3939
shell:Rscript {0}
4040

41-
-uses:codecov/codecov-action@v4
41+
-uses:codecov/codecov-action@v5
4242
with:
43-
fail_ci_if_error:${{ github.event_name != 'pull_request' && true || false }}
44-
file:./cobertura.xml
45-
plugin:noop
43+
# Fail if error if not on PR, or if on PR and token is given
44+
fail_ci_if_error:${{ github.event_name != 'pull_request' || secrets.CODECOV_TOKEN }}
45+
files:./cobertura.xml
46+
plugins:noop
4647
disable_search:true
4748
token:${{ secrets.CODECOV_TOKEN }}
4849

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp