Skip to content

Commit 1c679ef

Browse files
committed
also with test Python 3.14
1 parent 4c0a6ca commit 1c679ef

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/unit_tests.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,14 @@ jobs:
4646
modules_tool: ${{needs.setup.outputs.lmod8}}
4747
- python: '3.13'
4848
modules_tool: ${{needs.setup.outputs.lmod8}}
49+
- python: '3.14'
50+
modules_tool: ${{needs.setup.outputs.lmod8}}
4951
fail-fast: false
5052
steps:
5153
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2
5254

5355
- name: set up Python
54-
uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
56+
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
5557
with:
5658
python-version: ${{matrix.python}}
5759
architecture: x64
@@ -150,7 +152,10 @@ jobs:
150152
# also pick up changes to $PATH set by sourcing $MOD_INIT
151153
export PREFIX=/tmp/$USER/$GITHUB_SHA
152154
export PATH=$PREFIX/bin:$(cat $HOME/path)
153-
export PYTHONPATH=$PREFIX/lib/python${{matrix.python}}/site-packages:$PYTHONPATH
155+
export PYTHONPATH=$PREFIX/lib/python$(echo ${{matrix.python}} | cut -f1,2 -d'.')/site-packages:$PYTHONPATH
156+
echo "PYTHONPATH=$PYTHONPATH"
157+
ls $(echo $PYTHONPATH | cut -f1:)
158+
python3 -m easybuild.main --version
154159
eb --version
155160
# tell EasyBuild which modules tool is available
156161
if [[ ${{matrix.modules_tool}} =~ ^modules- ]]; then

0 commit comments

Comments
 (0)