10
10
fail-fast : false
11
11
matrix :
12
12
os : [ubuntu-latest]
13
- gcc_v : [9,10,11,12 ] # gfortran versions to test
13
+ gcc_v : [12, 13 ] # gfortran versions to test
14
14
python-version : [3.12]
15
15
env :
16
16
FC : gfortran-${{ matrix.gcc_v }}
@@ -23,13 +23,13 @@ jobs:
23
23
submodules : recursive
24
24
25
25
- name : Install Python
26
- if : contains( matrix.gcc_v, 10 )
26
+ if : contains( matrix.gcc_v, 12 )
27
27
uses :
actions/[email protected] # Use pip to install latest CMake, & FORD/Jin2For, etc.
28
28
with :
29
29
python-version : ${{ matrix.python-version }}
30
30
31
31
- name : Setup Graphviz
32
- if : contains( matrix.gcc_v, 10 )
32
+ if : contains( matrix.gcc_v, 12 )
33
33
uses : ts-graphviz/setup-graphviz@v1
34
34
35
35
- name : Setup Fortran Package Manager
38
38
github-token : ${{ secrets.GITHUB_TOKEN }}
39
39
40
40
- name : Install Python dependencies
41
- if : contains( matrix.gcc_v, 10 )
41
+ if : contains( matrix.gcc_v, 12 )
42
42
run : |
43
43
python -m pip install --upgrade pip
44
44
pip install ford numpy matplotlib
59
59
run : fpm test --profile debug --flag -coverage
60
60
61
61
- name : Create coverage report
62
- if : contains( matrix.gcc_v, 10 )
62
+ if : contains( matrix.gcc_v, 12 )
63
63
run : |
64
64
mkdir -p ${{ env.COV_DIR }}
65
65
mv ./build/gfortran_*/*/* ${{ env.COV_DIR }}
@@ -70,17 +70,17 @@ jobs:
70
70
COV_DIR : build/coverage
71
71
72
72
- name : Upload coverage report
73
- if : contains( matrix.gcc_v, 10 )
73
+ if : contains( matrix.gcc_v, 12 )
74
74
uses : codecov/codecov-action@v3
75
75
with :
76
76
files : build/coverage/coverage.info
77
77
78
78
- name : Build documentation
79
- if : contains( matrix.gcc_v, 10 )
79
+ if : contains( matrix.gcc_v, 12 )
80
80
run : ford ./ford.md
81
81
82
82
- name : Deploy Documentation
83
- if : contains( matrix.gcc_v, 10 ) && github.ref == 'refs/heads/master'
83
+ if : contains( matrix.gcc_v, 12 ) && github.ref == 'refs/heads/master'
84
84
85
85
with :
86
86
branch : gh-pages # The branch the action should deploy to.
0 commit comments