Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .github/actions/dependencies/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ runs:
using: "composite"
steps:
- run: |
test "${RUNNER_ARCH}" = "X64" && module use /cvmfs/dev.eessi.io/espresso/versions/2023.06/software/linux/x86_64/amd/zen2/modules/all
module load ${{ inputs.modules }}
module save pymbe
python3 -m venv --system-site-packages venv
Expand All @@ -22,5 +21,5 @@ runs:
python3 -m pip install -r requirements.txt
git checkout requirements.txt
deactivate
module purge
module --force purge
shell: bash
22 changes: 12 additions & 10 deletions .github/workflows/testsuite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ permissions:

jobs:
ubuntu:
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
env:
FI_PROVIDER: "^psm3,psm3;ofi_rxd"
OMPI_MCA_mtl_ofi_provider_exclude: psm3
Expand All @@ -18,28 +18,30 @@ jobs:
matrix:
espresso:
- version: "4.2.2"
eessi: ESPResSo/4.2.2-foss-2023a
eessi_modules: ESPResSo/4.2.2-foss-2023b
eessi_stack_version: "2023.06"
upload_artifact: true
- version: "5.0-dev"
eessi: ESPResSo/dc87ede3f6c218bb71624460752bc8c26a271c33-foss-2023b
- version: "5.0.1"
eessi_modules: ESPResSo/5.0.1-foss-2025a
eessi_stack_version: "2025.06"
upload_artifact: false
name: ubuntu - ESPResSo ${{ matrix.espresso.version }}
steps:
- name: Checkout repository
uses: actions/checkout@main
- name: Validate CITATION.cff
uses: dieghernan/cff-validator@v3
uses: dieghernan/cff-validator@v5
with:
install-r: true # Ensure R is explicitly installed
- name: Setup EESSI
uses: eessi/github-action-eessi@v3
with:
eessi_stack_version: "2023.06"
eessi_stack_version: ${{ matrix.espresso.eessi_stack_version }}
- name: Install dependencies
uses: ./.github/actions/dependencies
with:
modules: |-
${{ matrix.espresso.eessi }}
${{ matrix.espresso.eessi_modules }}
extra-python-packages: |-
pdoc==15.0.3
pylint==3.0.3
Expand All @@ -57,17 +59,17 @@ jobs:
shell: bash
- name: Upload artifact
if: ${{ matrix.espresso.upload_artifact }}
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
path: "./documentation"
name: documentation
retention-days: 2
if-no-files-found: error
- name: Upload coverage to Codecov
if: ${{ github.repository == 'pyMBE-dev/pyMBE' }}
uses: codecov/codecov-action@v4
uses: codecov/codecov-action@v7
with:
file: "./coverage.xml"
files: "./coverage.xml"
disable_search: true
env_vars: OS,PYTHON
fail_ci_if_error: false
Expand Down
4 changes: 2 additions & 2 deletions testsuite/CTestTestfile.cmake
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Copyright (C) 2024 pyMBE-dev team
# Copyright (C) 2024-2026 pyMBE-dev team
#
# This file is part of pyMBE.
#
Expand All @@ -18,7 +18,7 @@
#

cmake_minimum_required(VERSION 3.22.1)
find_package(Python 3.8 REQUIRED COMPONENTS Interpreter NumPy)
find_package(Python 3.8 REQUIRED COMPONENTS Interpreter)

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The NumPy option was actually superfluous. It instructs CMake to search for NumPy header files, but those are not actually needed, since we are not compiling any source code. The presence of NumPy here can trigger a CMake runtime error on HPC clusters under unclear (and hard to reproduce) circumstances.


file(REAL_PATH "CTestTestfile.cmake" CMAKE_CURRENT_SOURCE_FILE)
cmake_path(GET CMAKE_CURRENT_SOURCE_FILE PARENT_PATH CMAKE_CURRENT_SOURCE_DIR)
Expand Down
Loading