Skip to content

Commit

Permalink
update gh workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
raymondben committed Mar 27, 2024
1 parent b9f1c7d commit 2540849
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 13 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
R_KEEP_PKG_SOURCE: yes

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

- uses: r-lib/actions/setup-pandoc@v2

Expand All @@ -39,10 +39,6 @@ jobs:
http-user-agent: ${{ matrix.config.http-user-agent }}
use-public-rspm: true

- name: "Install Mac system libs"
if: runner.os == 'macOS'
run: brew install pkg-config gdal proj geos

- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::rcmdcheck
Expand All @@ -51,3 +47,4 @@ jobs:
- uses: r-lib/actions/check-r-package@v2
with:
upload-snapshots: true
build_args: 'c("--no-manual","--compact-vignettes=gs+qpdf")'
6 changes: 3 additions & 3 deletions .github/workflows/test-coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}

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

- uses: r-lib/actions/setup-r@v2
with:
Expand All @@ -39,12 +39,12 @@ jobs:
if: always()
run: |
## --------------------------------------------------------------------
find ${{ runner.temp }}/package -name 'testthat.Rout*' -exec cat '{}' \; || true
find '${{ runner.temp }}/package' -name 'testthat.Rout*' -exec cat '{}' \; || true
shell: bash

- name: Upload test results
if: failure()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: coverage-test-failures
path: ${{ runner.temp }}/package
3 changes: 1 addition & 2 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ editor_options:
chunk_output_type: console
---

[![R-CMD-check](https://github.com/AustralianAntarcticDivision/SOmap/workflows/R-CMD-check/badge.svg)](https://github.com/AustralianAntarcticDivision/SOmap/actions)
[![CRAN status](https://www.r-pkg.org/badges/version/SOmap)](https://cran.r-project.org/package=SOmap)
[![R-CMD-check](https://github.com/AustralianAntarcticDivision/SOmap/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/AustralianAntarcticDivision/SOmap/actions/workflows/R-CMD-check.yaml)

<!-- README.md is generated from README.Rmd. Please edit that file -->

Expand Down
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@

[![R-CMD-check](https://github.com/AustralianAntarcticDivision/SOmap/workflows/R-CMD-check/badge.svg)](https://github.com/AustralianAntarcticDivision/SOmap/actions)
[![CRAN
status](https://www.r-pkg.org/badges/version/SOmap)](https://cran.r-project.org/package=SOmap)
[![R-CMD-check](https://github.com/AustralianAntarcticDivision/SOmap/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/AustralianAntarcticDivision/SOmap/actions/workflows/R-CMD-check.yaml)

<!-- README.md is generated from README.Rmd. Please edit that file -->

Expand Down

0 comments on commit 2540849

Please sign in to comment.