Skip to content

Commit 01fb7ae

Browse files
committed
update gha workflows
1 parent 21f8885 commit 01fb7ae

File tree

4 files changed

+16
-12
lines changed

4 files changed

+16
-12
lines changed
Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
1+
# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
2+
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
13
on:
24
push:
3-
branches: main
5+
branches: [main, master]
46
pull_request:
5-
branches: main
67

7-
name: R-CMD-check
8+
name: R-CMD-check.yaml
9+
10+
permissions: read-all
811

912
jobs:
1013
R-CMD-check:
@@ -16,14 +19,13 @@ jobs:
1619
fail-fast: false
1720
matrix:
1821
config:
19-
# - {os: macos-latest, r: 'release'}
20-
#- {os: windows-latest, r: 'release'}
22+
- {os: macos-latest, r: 'release'}
23+
- {os: windows-latest, r: 'release'}
2124
- {os: ubuntu-latest, r: 'devel', http-user-agent: 'release'}
2225
- {os: ubuntu-latest, r: 'release'}
23-
# - {os: ubuntu-latest, r: 'oldrel-1'}
26+
- {os: ubuntu-latest, r: 'oldrel-1'}
2427

2528
env:
26-
R_REMOTES_NO_ERRORS_FROM_WARNINGS: true
2729
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
2830
R_KEEP_PKG_SOURCE: yes
2931

@@ -46,3 +48,4 @@ jobs:
4648
- uses: r-lib/actions/check-r-package@v2
4749
with:
4850
upload-snapshots: true
51+
build_args: 'c("--no-manual","--compact-vignettes=gs+qpdf")'

.github/workflows/test-coverage.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,16 @@ jobs:
3434
clean = FALSE,
3535
install_path = file.path(normalizePath(Sys.getenv("RUNNER_TEMP"), winslash = "/"), "package")
3636
)
37+
print(cov)
3738
covr::to_cobertura(cov)
3839
shell: Rscript {0}
3940

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

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: uaengine
22
Title: Routing and aggregation engine for 'Urban Analyst'
3-
Version: 0.3.2.016
3+
Version: 0.3.2.017
44
Authors@R:
55
person(given = "Mark",
66
family = "Padgham",

codemeta.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"codeRepository": "https://github.com/UrbanAnalyst/uaengine",
88
"issueTracker": "https://github.com/UrbanAnalyst/uaengine/issues",
99
"license": "https://spdx.org/licenses/GPL-3.0",
10-
"version": "0.3.2.016",
10+
"version": "0.3.2.017",
1111
"programmingLanguage": {
1212
"@type": "ComputerLanguage",
1313
"name": "R",

0 commit comments

Comments
 (0)