Skip to content

Commit

Permalink
Update operating system for weekly tests
Browse files Browse the repository at this point in the history
current: Ubuntu 20 -> 22
future:  Ubuntu 22 -> 24

https://releases.ubuntu.com/noble/
https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2404-Readme.md

Motivation: "current" is failing because latest git2r 0.35.0 requires
libgit2 >=1

https://github.com/workflowr/workflowr-pkg-tests/actions/runs/11775691905/job/32796616477#step:7:542
configure: error: package dependency requirement 'libgit2 >= 1.0' could not be satisfied.
  • Loading branch information
jdblischak committed Nov 11, 2024
1 parent bff28ba commit 337aa08
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/current.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ on:
workflow_dispatch:
jobs:
current:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
name: current
env:
RSPM: "https://packagemanager.rstudio.com/cran/__linux__/focal/latest"
RSPM: "https://packagemanager.rstudio.com/cran/__linux__/jammy/latest"
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v4
Expand All @@ -17,7 +17,6 @@ jobs:
- name: Install system dependencies
run: |
sudo apt-get install -y software-properties-common
sudo add-apt-repository -y ppa:cran/libgit2
sudo apt-get update
sudo apt-get install -y \
libcurl4-openssl-dev \
Expand All @@ -32,6 +31,7 @@ jobs:
python3-matplotlib \
qpdf \
zlib1g-dev
apt list
- uses: r-lib/actions/setup-pandoc@v2
with:
pandoc-version: "2.16.2"
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/future.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ on:
workflow_dispatch:
jobs:
future:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
name: future
env:
RSPM: "https://packagemanager.rstudio.com/cran/__linux__/jammy/latest"
RSPM: "https://packagemanager.rstudio.com/cran/__linux__/noble/latest"
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v4
Expand All @@ -31,6 +31,7 @@ jobs:
python3-matplotlib \
qpdf \
zlib1g-dev
apt list
- uses: r-lib/actions/setup-pandoc@v2
with:
pandoc-version: "2.19.2"
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/legacy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ jobs:
python3-matplotlib \
qpdf \
zlib1g-dev
apt list
- uses: r-lib/actions/setup-r@v2
id: install-r
with:
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ from GitHub

Name | OS | R | pandoc | knitr | rmarkdown | status
------- | ------------ | ------- | -------- | ------- | --------- | ------
current | Ubuntu 20.04 | release | 2.16.2 | release | release | [![current](https://github.com/workflowr/workflowr-pkg-tests/workflows/current/badge.svg)](https://github.com/workflowr/workflowr-pkg-tests/actions/workflows/current.yaml)
current | Ubuntu 22.04 | release | 2.16.2 | release | release | [![current](https://github.com/workflowr/workflowr-pkg-tests/workflows/current/badge.svg)](https://github.com/workflowr/workflowr-pkg-tests/actions/workflows/current.yaml)
legacy | Ubuntu 20.04 | 3.3.3 | 1.19.2.4 | 1.29 | 1.18 | [![legacy](https://github.com/workflowr/workflowr-pkg-tests/workflows/legacy/badge.svg)](https://github.com/workflowr/workflowr-pkg-tests/actions/workflows/legacy.yaml)
future | Ubuntu 22.04 | devel | 2.19.2 | devel | devel | [![future](https://github.com/workflowr/workflowr-pkg-tests/workflows/future/badge.svg)](https://github.com/workflowr/workflowr-pkg-tests/actions/workflows/future.yaml)
future | Ubuntu 24.04 | devel | 2.19.2 | devel | devel | [![future](https://github.com/workflowr/workflowr-pkg-tests/workflows/future/badge.svg)](https://github.com/workflowr/workflowr-pkg-tests/actions/workflows/future.yaml)

## Monthly

Expand Down

0 comments on commit 337aa08

Please sign in to comment.