File tree Expand file tree Collapse file tree 3 files changed +10
-7
lines changed Expand file tree Collapse file tree 3 files changed +10
-7
lines changed Original file line number Diff line number Diff line change 12
12
if : github.event_name != 'pull_request' || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != 'cmbant/camb')
13
13
14
14
steps :
15
- - name : Checkout code
16
- uses : actions/checkout@v4
15
+ - uses : actions/checkout@v4
16
+ with :
17
+ submodules : recursive
18
+ fetch-depth : 0
17
19
18
20
- name : Set up Python
19
21
uses : actions/setup-python@v5
Original file line number Diff line number Diff line change @@ -3,11 +3,9 @@ name: tests
3
3
on : [push, pull_request]
4
4
5
5
jobs :
6
- tests :
6
+ python_tests :
7
7
runs-on : ubuntu-latest
8
- if : >
9
- (matrix.os == 'ubuntu-latest' || !startsWith(github.ref, 'refs/heads/test')) &&
10
- (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != 'cmbant/camb')
8
+ if : (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != 'cmbant/camb')
11
9
strategy :
12
10
fail-fast : false
13
11
matrix :
25
23
steps :
26
24
- uses : actions/checkout@v4
27
25
with :
26
+ submodules : recursive
28
27
fetch-depth : 0
29
28
30
29
- name : Set up Python ${{ matrix.python-version }}
49
48
python --version
50
49
gfortran --version
51
50
pip install -e .
52
- chmod +x fortran/tests/run_tests.sh
53
51
54
52
- name : Run tests
55
53
run : |
Original file line number Diff line number Diff line change 1
1
set -e
2
2
3
+ python --version
4
+ gfortran --version
5
+
3
6
pushd fortran
4
7
5
8
make clean
You can’t perform that action at this time.
0 commit comments