Skip to content

Commit eb0dc2d

Browse files
committed
gh-actions: move python test to separate job.
1 parent a767f32 commit eb0dc2d

File tree

1 file changed

+23
-13
lines changed

1 file changed

+23
-13
lines changed

.github/workflows/linux.yml

Lines changed: 23 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -55,19 +55,6 @@ jobs:
5555
./make_fds.sh
5656
./fds_impi_intel_linux
5757
58-
# Setup python
59-
- uses: actions/setup-python@v5
60-
with:
61-
python-version: '3.9'
62-
cache: 'pip' # caching pip dependencies
63-
- run: pip install -r .github/requirements.txt
64-
65-
# Run Hello World test
66-
- name: Python test
67-
run: |
68-
echo $GITHUB_WORKSPACE
69-
cd $GITHUB_WORKSPACE/Utilities/Python
70-
python hello_world.py
7158
7259
linux-gnu-openmpi:
7360
# build on ubuntu using gfortran with openmpi and mkl based on
@@ -100,3 +87,26 @@ jobs:
10087
cd ./Build/ompi_gnu_linux
10188
./make_fds.sh
10289
./fds_ompi_gnu_linux
90+
91+
92+
linux-python-helloworld:
93+
# Run Hello World test
94+
95+
name: linux python helloworld
96+
runs-on: [ubuntu-latest]
97+
98+
steps:
99+
- uses: actions/checkout@v4
100+
101+
- uses: actions/setup-python@v5
102+
with:
103+
python-version: '3.9'
104+
cache: 'pip' # caching pip dependencies
105+
- run: pip install -r .github/requirements.txt
106+
107+
- name: Python test
108+
run: |
109+
echo $GITHUB_WORKSPACE
110+
cd $GITHUB_WORKSPACE/Utilities/Python
111+
python hello_world.py
112+
: # python FDS_verification_script.py

0 commit comments

Comments
 (0)