Skip to content

Commit

Permalink
Merge pull request #22459 from Flamefire/gha
Browse files Browse the repository at this point in the history
Update GitHub actions runners
  • Loading branch information
boegel authored Mar 5, 2025
2 parents 35e0c5b + 38a2018 commit d19a934
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 17 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ concurrency:

jobs:
python-linting:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: 3.8

Expand Down
21 changes: 8 additions & 13 deletions .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ concurrency:

jobs:
test-suite:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
strategy:
matrix:
python: [3.6, '3.11']
python: [3.7, '3.11']
modules_tool: [Lmod-7.8.22, Lmod-8.6.8]
module_syntax: [Lua, Tcl]
# exclude some configurations: only test Tcl module syntax with Lmod 8.x and Python 3.6
Expand All @@ -22,7 +22,7 @@ jobs:
module_syntax: Tcl
fail-fast: false
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Required for git merge-base to work

Expand All @@ -34,7 +34,7 @@ jobs:
key: eb-sourcepath

- name: set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{matrix.python}}
architecture: x64
Expand All @@ -46,11 +46,6 @@ jobs:
# sudo apt-get update
# for modules tool
sudo apt-get install lua5.2 liblua5.2-dev lua-filesystem lua-posix tcl tcl-dev
# fix for lua-posix packaging issue, see https://bugs.launchpad.net/ubuntu/+source/lua-posix/+bug/1752082
# needed for Ubuntu 18.04, but not for Ubuntu 20.04, so skipping symlinking if posix.so already exists
if [ ! -e /usr/lib/x86_64-linux-gnu/lua/5.2/posix.so ] ; then
sudo ln -s /usr/lib/x86_64-linux-gnu/lua/5.2/posix_c.so /usr/lib/x86_64-linux-gnu/lua/5.2/posix.so
fi
# for testing OpenMPI-system*eb we need to have Open MPI installed
sudo apt-get install libopenmpi-dev openmpi-bin
# required for test_dep_graph
Expand Down Expand Up @@ -152,15 +147,15 @@ jobs:
eb --prefix /tmp/$USER/$GITHUB_SHA --sourcepath /tmp/sources M4-1.4.18.eb
test-sdist:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
strategy:
matrix:
python: [3.6, '3.11']
python: [3.7, '3.11']
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{matrix.python}}

Expand Down
2 changes: 1 addition & 1 deletion RELEASE_NOTES
Original file line number Diff line number Diff line change
Expand Up @@ -1553,7 +1553,7 @@ update/bugfix release
- fix typo in templated source URL in RcppGSL 0.3.8 easyconfig: $(name)s should be %(name)s (#14962)
- other changes:
- update Java/17 wrapper to Java 17.0.2 (#14868)
- use actions/setup-python@v2 in CI workflows + trim test configurations for easyconfigs test suite: only test with Python 2.7 + 3.6 and Lmod 7.x + 8.x (#14857, #14881)
- use actions/setup-python@v5 in CI workflows + trim test configurations for easyconfigs test suite: only test with Python 2.7 + 3.6 and Lmod 7.x + 8.x (#14857, #14881)


v4.5.2 (January 24th 2022)
Expand Down

0 comments on commit d19a934

Please sign in to comment.