Skip to content

Commit d6a9d07

Browse files
authored
Upgrade runner environment (#152)
1 parent 3728606 commit d6a9d07

3 files changed

Lines changed: 15 additions & 14 deletions

File tree

‎.github/actions/dependencies/action.yml‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ runs:
1111
using: "composite"
1212
steps:
1313
- run: |
14-
test "${RUNNER_ARCH}" = "X64" && module use /cvmfs/dev.eessi.io/espresso/versions/2023.06/software/linux/x86_64/amd/zen2/modules/all
1514
module load ${{ inputs.modules }}
1615
module save pymbe
1716
python3 -m venv --system-site-packages venv
@@ -22,5 +21,5 @@ runs:
2221
python3 -m pip install -r requirements.txt
2322
git checkout requirements.txt
2423
deactivate
25-
module purge
24+
module --force purge
2625
shell: bash

‎.github/workflows/testsuite.yml‎

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ permissions:
99

1010
jobs:
1111
ubuntu:
12-
runs-on: ubuntu-24.04
12+
runs-on: ubuntu-26.04
1313
env:
1414
FI_PROVIDER: "^psm3,psm3;ofi_rxd"
1515
OMPI_MCA_mtl_ofi_provider_exclude: psm3
@@ -18,28 +18,30 @@ jobs:
1818
matrix:
1919
espresso:
2020
- version: "4.2.2"
21-
eessi: ESPResSo/4.2.2-foss-2023a
21+
eessi_modules: ESPResSo/4.2.2-foss-2023b
22+
eessi_stack_version: "2023.06"
2223
upload_artifact: true
23-
- version: "5.0-dev"
24-
eessi: ESPResSo/dc87ede3f6c218bb71624460752bc8c26a271c33-foss-2023b
24+
- version: "5.0.1"
25+
eessi_modules: ESPResSo/5.0.1-foss-2025a
26+
eessi_stack_version: "2025.06"
2527
upload_artifact: false
2628
name: ubuntu - ESPResSo ${{ matrix.espresso.version }}
2729
steps:
2830
- name: Checkout repository
2931
uses: actions/checkout@main
3032
- name: Validate CITATION.cff
31-
uses: dieghernan/cff-validator@v3
33+
uses: dieghernan/cff-validator@v5
3234
with:
3335
install-r: true # Ensure R is explicitly installed
3436
- name: Setup EESSI
3537
uses: eessi/github-action-eessi@v3
3638
with:
37-
eessi_stack_version: "2023.06"
39+
eessi_stack_version: ${{ matrix.espresso.eessi_stack_version }}
3840
- name: Install dependencies
3941
uses: ./.github/actions/dependencies
4042
with:
4143
modules: |-
42-
${{ matrix.espresso.eessi }}
44+
${{ matrix.espresso.eessi_modules }}
4345
extra-python-packages: |-
4446
pdoc==15.0.3
4547
pylint==3.0.3
@@ -57,17 +59,17 @@ jobs:
5759
shell: bash
5860
- name: Upload artifact
5961
if: ${{ matrix.espresso.upload_artifact }}
60-
uses: actions/upload-artifact@v4
62+
uses: actions/upload-artifact@v7
6163
with:
6264
path: "./documentation"
6365
name: documentation
6466
retention-days: 2
6567
if-no-files-found: error
6668
- name: Upload coverage to Codecov
6769
if: ${{ github.repository == 'pyMBE-dev/pyMBE' }}
68-
uses: codecov/codecov-action@v4
70+
uses: codecov/codecov-action@v7
6971
with:
70-
file: "./coverage.xml"
72+
files: "./coverage.xml"
7173
disable_search: true
7274
env_vars: OS,PYTHON
7375
fail_ci_if_error: false

‎testsuite/CTestTestfile.cmake‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Copyright (C) 2024 pyMBE-dev team
2+
# Copyright (C) 2024-2026 pyMBE-dev team
33
#
44
# This file is part of pyMBE.
55
#
@@ -18,7 +18,7 @@
1818
#
1919

2020
cmake_minimum_required(VERSION 3.22.1)
21-
find_package(Python 3.8 REQUIRED COMPONENTS Interpreter NumPy)
21+
find_package(Python 3.8 REQUIRED COMPONENTS Interpreter)
2222

2323
file(REAL_PATH "CTestTestfile.cmake" CMAKE_CURRENT_SOURCE_FILE)
2424
cmake_path(GET CMAKE_CURRENT_SOURCE_FILE PARENT_PATH CMAKE_CURRENT_SOURCE_DIR)

0 commit comments

Comments
 (0)