File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,28 +3,36 @@ name: Regression Test - Python
33on : [push, pull_request, workflow_dispatch]
44
55jobs :
6- build :
7- runs-on : ${{ matrix.os }}
8- strategy :
9- fail-fast : false
10- matrix :
11- os : ["ubuntu-22.04"]
6+ test-regression-python :
7+ runs-on : ubuntu-22.04
8+ timeout-minutes : 30
9+
1210 steps :
13- - uses : actions/checkout@v3
14- - name : Set up python 3.11
15- uses : actions/setup-python@v3
16- with :
17- python-version : " 3.11"
18- - name : debug
19- run : |
20- pwd
21- ls
22- - uses : mpi4py/setup-mpi@v1
23- - name : Install dependencies
24- run : |
25- pip install -e .
26- pip list
27- - name : Regression Test - Python
28- run : |
29- cd test/regression
30- python run.py
11+ - name : Checkout repository
12+ uses : actions/checkout@v4
13+
14+ - name : Set up python 3.11
15+ uses : actions/setup-python@v5
16+ with :
17+ python-version : " 3.11"
18+ cache : pip
19+
20+ - name : Show environment info
21+ run : |
22+ pwd
23+ ls
24+ python --version
25+ pip --version
26+
27+ - name : Set up MPI
28+ uses : mpi4py/setup-mpi@v1
29+
30+ - name : Install MC/DC
31+ run : |
32+ pip install --upgrade pip
33+ pip install -e .
34+ pip list
35+
36+ - name : Run Python regression tests
37+ working-directory : test/regression
38+ run : python run.py
You can’t perform that action at this time.
0 commit comments