diff --git a/.github/actions/dependencies/action.yml b/.github/actions/dependencies/action.yml index 24d293a3..03953a12 100644 --- a/.github/actions/dependencies/action.yml +++ b/.github/actions/dependencies/action.yml @@ -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 @@ -22,5 +21,5 @@ runs: python3 -m pip install -r requirements.txt git checkout requirements.txt deactivate - module purge + module --force purge shell: bash diff --git a/.github/workflows/testsuite.yml b/.github/workflows/testsuite.yml index 563af5c1..2673c431 100644 --- a/.github/workflows/testsuite.yml +++ b/.github/workflows/testsuite.yml @@ -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 @@ -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 @@ -57,7 +59,7 @@ 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 @@ -65,9 +67,9 @@ jobs: 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 diff --git a/testsuite/CTestTestfile.cmake b/testsuite/CTestTestfile.cmake index aa66fb39..7cf6affc 100644 --- a/testsuite/CTestTestfile.cmake +++ b/testsuite/CTestTestfile.cmake @@ -1,5 +1,5 @@ # -# Copyright (C) 2024 pyMBE-dev team +# Copyright (C) 2024-2026 pyMBE-dev team # # This file is part of pyMBE. # @@ -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) file(REAL_PATH "CTestTestfile.cmake" CMAKE_CURRENT_SOURCE_FILE) cmake_path(GET CMAKE_CURRENT_SOURCE_FILE PARENT_PATH CMAKE_CURRENT_SOURCE_DIR)