Skip to content

Commit

Permalink
Updates to actions
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanJField committed Oct 7, 2024
1 parent d4107d1 commit a497375
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 15 deletions.
17 changes: 5 additions & 12 deletions .github/workflows/test-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ jobs:
fail-fast: false
matrix:
config:
# - {os: windows-latest, r: 'release'}
# - {os: macOS-latest, r: 'release'}
- {os: windows-latest, r: 'release'}
- {os: macOS-latest, r: 'release'}
- {os: ubuntu-latest, r: 'release'}
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: r-lib/actions/setup-pandoc@v2
- uses: r-lib/actions/setup-r@v2
with:
Expand All @@ -37,7 +37,7 @@ jobs:
rcmdcheck
remotes
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: '3.9'
architecture: 'x64'
Expand All @@ -64,21 +64,14 @@ jobs:
cd ${{ github.workspace }}
fair init --ci
fair registry start
shell: bash

- name: Install R API system requirements (macOS-latest)
if: runner.os == 'macOS'
run : |
rm '/usr/local/bin/gfortran'
brew install hdf5
brew install gdal
- name: Install R API system requirements (ubuntu-20.04)
if: matrix.config.os == 'ubuntu-20.04'
run: |
while read -r cmd
do
eval sudo $cmd
done < <(Rscript -e 'cat(remotes::system_requirements("ubuntu", "20.04"), sep = "\n")')
- name: Check
env:
_R_CHECK_CRAN_INCOMING_: false
Expand Down
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: rDataPipeline
Title: Functions to Interact with the 'FAIR Data Pipeline'
Version: 0.6.0
Version: 0.60.0
Authors@R: c(person("Sonia", "Mitchell", email = "sonia.mitchell@glasgow.ac.uk",
role = c("aut"), comment = c(ORCID = "0000-0003-1536-2066")),
person("Ryan", "Field", email = "ryan.field@glasgow.ac.uk", role = c("cre", "aut"),
Expand Down
4 changes: 2 additions & 2 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# NEWS
# rDataPipeline v0.6.0
# rDataPipeline v0.60.0
## Improvements:
Updates to work with latest versions of R
Updates to work with latest version of data registry
- v0.54.1
- Initial release
- v0.54.2
Expand Down

0 comments on commit a497375

Please sign in to comment.