Skip to content

Commit d6b1eaf

Browse files
committed
source /etc/bashrc in the rocky CI
1 parent bc09349 commit d6b1eaf

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

  • .github/workflows
  • scripts/docker_files/docker_file_ci_rockylinux8

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -333,12 +333,14 @@ jobs:
333333
334334
- name: Running C++ tests
335335
run: |
336+
if [ -f /etc/bashrc ]; then source /etc/bashrc; fi
336337
export PYTHONPATH=${GITHUB_WORKSPACE}/bin/Custom
337338
export LD_LIBRARY_PATH=${GITHUB_WORKSPACE}/bin/Custom/libs
338339
python3.8 kratos/python_scripts/testing/run_cpp_tests.py
339340
340341
- name: Running python tests
341342
run: |
343+
if [ -f /etc/bashrc ]; then source /etc/bashrc; fi
342344
export PYTHONPATH=${GITHUB_WORKSPACE}/bin/Custom
343345
export LD_LIBRARY_PATH=${GITHUB_WORKSPACE}/bin/Custom/libs
344346
python3.8 kratos/python_scripts/testing/run_python_tests.py -l nightly -c python3.8

scripts/docker_files/docker_file_ci_rockylinux8/DockerFile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ ENV HOME /root
88
RUN dnf -y install gcc-toolset-11
99

1010
# Enable devtools 11 every time a shell is started
11+
# TODO: /etc/bashrc is never executed so this line does not fulfill its purpose => fix it.
1112
RUN echo "source /opt/rh/gcc-toolset-11/enable" >> /etc/bashrc
1213

1314
# Install python3.8.10

0 commit comments

Comments
 (0)